Stephen Chung
4998eb6139
Add has_context to plugin functions.
2022-12-03 17:03:15 +08:00
Stephen Chung
0c85f0c796
Code cleanup and refactor.
2022-11-28 23:24:22 +08:00
Stephen Chung
94aeab1015
Remove serde_bytes.
2022-11-22 15:52:31 +08:00
Stephen Chung
b2e4efd872
Fine tune serde.
2022-11-22 15:38:16 +08:00
Stephen Chung
1aa1066b93
Bump version.
2022-11-12 10:27:31 +08:00
Stephen Chung
6708d59e3f
Update hashbrown.
2022-11-11 15:07:26 +08:00
Stephen Chung
925a30a427
Update ahash dependency.
2022-11-11 15:01:54 +08:00
Stephen Chung
4455d95abc
Fix no-std by limiting ahash to 0.8.0.
2022-11-05 11:35:01 +08:00
Stephen Chung
4100645512
Move pure checking out of functions.
2022-10-27 20:42:10 +08:00
Stephen Chung
c5a111ddb2
Set getrandom/js with wasm-bindgen or stdweb
2022-10-17 11:54:25 +08:00
Stephen Chung
45f0fdcbe0
no_std = no_time.
2022-10-15 15:11:51 +08:00
Stephen Chung
a6a570131a
Add no_time.
2022-10-15 12:37:42 +08:00
Stephen Chung
a581d51e7a
Fix no-std.
2022-10-12 09:44:46 +08:00
Stephen Chung
33d3e250a8
Improve wasm builds.
2022-10-12 08:13:27 +08:00
Stephen Chung
2ecf44a48e
Remove stable_hash feature and use environment variable.
2022-09-27 13:23:47 +08:00
Stephen Chung
20d4b71591
Add stable_hash.
2022-09-26 23:45:50 +08:00
Stephen Chung
ea5ff2ac5f
Bump version to 1.10.1.
2022-09-22 18:23:08 +08:00
Stephen Chung
75fbb609dd
Bump version.
2022-09-10 13:38:52 +08:00
Stephen Chung
2121bd4b47
Add feature to hashbrown.
2022-09-05 21:22:02 +08:00
quake
d515eaf7cd
chore: apply reviewers comment
2022-09-05 19:22:30 +09:00
Stephen Chung
044484c756
Merge 1.9.1 fixes.
2022-08-29 22:42:46 +08:00
Stephen Chung
498d6f5452
Bump version to 1.9.1.
2022-08-29 22:27:07 +08:00
Stephen Chung
1389541e7d
Set minimum Rust version to 1.61.0.
2022-08-27 17:28:59 +08:00
Stephen Chung
e7333dc6c1
Add smallvec feature.
2022-08-24 23:17:12 +08:00
Stephen Chung
75275371ac
Bump version.
2022-08-21 16:25:04 +08:00
Stephen Chung
f7d910fa55
Use references for JSON metadata.
2022-08-14 14:20:37 +08:00
Stephen Chung
16f81fd5f9
Add std feature.
2022-08-10 15:43:52 +08:00
Stephen Chung
87687ebf25
Gate definitions with internals feature.
2022-07-28 17:58:22 +08:00
Stephen Chung
0bf7baa502
Merge branch 'main' into feat-definitions
2022-07-26 21:18:01 +08:00
Stephen Chung
a95ef4c255
Revise required/forbidden features in examples.
2022-07-26 17:05:42 +08:00
tamasfe
b7b9ff29e4
feat: basic definitions
2022-07-25 19:01:06 +02:00
Stephen Chung
747cd903b4
Update resolver version.
2022-07-21 14:01:28 +08:00
Stephen Chung
107193e35f
Update rustyline to 10.
2022-07-17 18:49:12 +08:00
Stephen Chung
0555069de0
Bump minimum Rust version.
2022-07-13 19:21:13 +08:00
Stephen Chung
15e802146a
Merge branch 'main' of https://github.com/rhaiscript/rhai
2022-07-13 19:20:31 +08:00
Mathieu-Lala
f1e7f3d01b
ci: add msrv check & update cargo.toml/readme rust-version to 1.60
2022-07-13 13:12:53 +02:00
Stephen Chung
c7820391b7
Remove examples from package.
2022-07-08 00:48:29 +08:00
Stephen Chung
b4dbc7619a
Add no_custom_syntax.
2022-07-05 22:59:03 +08:00
Stephen Chung
54db9a2819
Bump version.
2022-07-01 12:30:20 +08:00
Stephen Chung
6ebe002b18
Check for missing docs.
2022-06-05 18:17:44 +08:00
Geoffroy Couprie
f2b5566c0b
use smartstring's deserializer to support non borrowed strings
...
The map visitor for Dynamic was expecting a &str for the key, but the
serde_json deserializer internally uses a Cow string, which can be
Borrowed or Owned. In the case of Owned, the serde_json key deserializer
is calling visit_string on the Visitor, which for &str will result in
the error:
Error("invalid type: string \"a\", expected a borrowed string", line: 0,
column: 0)
smartstring actually has its own Visitor implementation that handles
both cases, so we can use it instead of an explicit conversion.
2022-05-23 16:40:49 +02:00
Stephen Chung
c5015d5e86
Bump version.
2022-04-11 16:53:44 +08:00
Stephen Chung
06608affc5
Fix rustyline patch.
2022-04-11 16:32:23 +08:00
Stephen Chung
5d00ab85ee
Move rustyline
patch to [patch] section.
2022-03-30 12:08:30 +08:00
Stephen Chung
22081850a9
Bump version.
2022-03-30 08:09:41 +08:00
Stephen Chung
c646b3efa2
Update codegen version.
2022-03-30 08:09:06 +08:00
Stephen Chung
8205547d8a
Use bitflags.
2022-02-25 11:42:59 +08:00
Stephen Chung
f091033f78
Bump smartstring to 1.0.
2022-02-25 08:24:22 +08:00
Stephen Chung
7263896776
Bump minimum compiler version.
2022-02-24 08:54:37 +08:00
Stephen Chung
cdc8005146
Bump version.
2022-02-15 11:38:35 +08:00