Commit Graph

259 Commits

Author SHA1 Message Date
ltabis
44a48f1aff feat: add base_std feature to enable dynamic libraries. 2022-09-26 13:36:16 +02: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
Stephen Chung
b37c87c888 Custom rustyline. 2022-02-09 08:25:02 +08:00
Stephen Chung
5e7db6e105 Use new version of rustyline. 2022-02-08 22:16:12 +08:00
Stephen Chung
f8cee0fe4e Simplify using .. 2022-02-08 09:02:15 +08:00
Stephen Chung
419ee45043 Add bin-features to pull in all features for bin tools. 2022-02-03 21:17:47 +08:00
Stephen Chung
0378c822e1 Use required-features for bin tools. 2022-01-30 09:41:51 +08:00
Stephen Chung
2cfd426aaf Merge branch 'rustyline' of https://github.com/rhaiscript/rhai 2022-01-29 15:59:24 +08:00
Jonathan Strong
16f13960f4 poc: adds rustyline to rhai-repl 2022-01-28 20:29:25 -05:00
Stephen Chung
fc87dec128 Add debugging interface. 2022-01-27 16:58:11 +08:00
Stephen Chung
69dab31617 Remove need for default features in dependencies. 2022-01-27 08:22:20 +08:00
Stephen Chung
922931f51d Bump version. 2022-01-23 21:49:46 +08:00
Stephen Chung
4d3055fbcd Reset version. 2022-01-23 21:39:56 +08:00
Stephen Chung
37dbc68bf5 Use target_family for wasm. 2022-01-12 08:12:28 +08:00
Stephen Chung
6048c5804b Bump version. 2022-01-11 12:05:01 +08:00
Stephen Chung
7251f34bce Bump version. 2021-12-12 18:10:09 +08:00
Stephen Chung
41dd989866 Support deserialization into byte arrays for BLOB's via serde_bytes. 2021-12-02 14:10:53 +08:00