Stephen Chung
|
a9aa8e84fd
|
Use Box<[]>.
|
2021-11-12 13:25:57 +08:00 |
|
Stephen Chung
|
0fbc437916
|
Use Box<str> internally.
|
2021-11-11 13:55:52 +08:00 |
|
Stephen Chung
|
68c0ee08c0
|
Reduce usage of Default::default() to make it easier to refactor.
|
2021-11-07 18:12:37 +08:00 |
|
Stephen Chung
|
3001e90775
|
Deprecate From<EvalAltResult> for Result<T, Box<EvalAltResult>> because it is clearer for code to explicitly wrap errors in Err.
|
2021-10-19 23:52:58 +08:00 |
|
Stephen Chung
|
6510b617fe
|
Reduce usage of Default::default()
|
2021-09-11 19:40:40 +08:00 |
|
Stephen Chung
|
b6d38a8fc9
|
Fix metadata build.
|
2021-08-30 10:25:24 +08:00 |
|
Stephen Chung
|
aec4417bd5
|
Refine expect messages.
|
2021-08-26 23:58:41 +08:00 |
|
Stephen Chung
|
94674679d9
|
Rename as_string and as_immutable_string.
|
2021-08-17 15:50:55 +08:00 |
|
Stephen Chung
|
29133cf973
|
Satisfy clippy.
|
2021-07-26 22:22:27 +08:00 |
|
Stephen Chung
|
c7498503ba
|
Use lower case for feature marker.
|
2021-07-25 22:56:05 +08:00 |
|
Stephen Chung
|
4d25fd0192
|
Remove unnecessary AsRef<str>.
|
2021-07-10 10:11:14 +08:00 |
|
Stephen Chung
|
d517a0219b
|
Revert "Remove unnecessary imports."
This reverts commit d6220f0d8d .
|
2021-07-08 23:03:36 +08:00 |
|
Stephen Chung
|
d6220f0d8d
|
Remove unnecessary imports.
|
2021-07-08 22:42:50 +08:00 |
|
Stephen Chung
|
a13a724361
|
Fix builds.
|
2021-06-28 18:29:53 +08:00 |
|
Stephen Chung
|
0b028dc900
|
Fix decimal build.
|
2021-06-16 19:44:54 +08:00 |
|
Stephen Chung
|
bbf3d31fbf
|
Code style refactor.
|
2021-06-14 12:02:22 +08:00 |
|
Stephen Chung
|
8ca24059b1
|
Add #[must_use]
|
2021-06-12 22:47:43 +08:00 |
|
Stephen Chung
|
79d9977cd5
|
Change take_string and take_immutable_string to as_XXX.
|
2021-06-10 10:45:44 +08:00 |
|
Stephen Chung
|
dfea3ed22a
|
Code style refactor.
|
2021-05-25 10:54:48 +08:00 |
|
Stephen Chung
|
941e09d29d
|
Guard against setters mutating constants, and allow pure setters.
|
2021-05-15 11:41:42 +08:00 |
|
Stephen Chung
|
bb5dc7b637
|
Add tag to Dynamic.
|
2021-05-02 23:57:35 +08:00 |
|
Stephen Chung
|
01f0cc028b
|
Use no-std-compat to build no-std.
|
2021-04-17 15:15:54 +08:00 |
|
Stephen Chung
|
7ec49a9510
|
Fix f32_feature with serde.
|
2021-04-06 23:18:28 +08:00 |
|
Stephen Chung
|
889edbef71
|
Allow cross-loading of relative file paths in FileModuleResolver.
|
2021-04-02 12:34:39 +08:00 |
|
Stephen Chung
|
98afb2e7d6
|
Fix feature builds.
|
2021-03-31 10:16:38 +08:00 |
|
Stephen Chung
|
b14d18934a
|
Add Dynamic::clone_cast.
|
2021-03-30 18:57:16 +08:00 |
|
Stephen Chung
|
3a6e6848fd
|
Fix serde build.
|
2021-03-29 18:46:32 +08:00 |
|
Stephen Chung
|
8ea218f907
|
Metadata pulls in serde.
|
2021-03-25 19:49:30 +08:00 |
|
Stephen Chung
|
ac7f35cacb
|
Move all functions metadata into metadata feature.
|
2021-03-24 19:27:38 +08:00 |
|
Stephen Chung
|
f70225ca1d
|
Change HashMap to BTreeMap.
|
2021-03-23 12:13:53 +08:00 |
|
Stephen Chung
|
6667a22c0c
|
Code style and docs.
|
2021-03-17 13:30:47 +08:00 |
|
Stephen Chung
|
874b3fc843
|
Fix metadata build.
|
2021-03-10 14:10:04 +08:00 |
|
Stephen Chung
|
1c3a07fe86
|
Fix metadata build.
|
2021-03-07 22:37:23 +08:00 |
|
Stephen Chung
|
e87f981674
|
Fix sync build.
|
2021-03-06 22:07:20 +08:00 |
|
Stephen Chung
|
426f841aa2
|
Fix serde build.
|
2021-03-05 23:41:20 +08:00 |
|
Stephen Chung
|
ce6e6ceaaa
|
Fix serde build.
|
2021-03-02 23:19:35 +08:00 |
|
Stephen Chung
|
e3e53bd399
|
Introduce RhaiResult.
|
2021-03-02 15:02:28 +08:00 |
|
Stephen Chung
|
b789c319e7
|
Rename serde_impl to serde.
|
2021-02-19 15:17:14 +08:00 |
|
Stephen Chung
|
dd9f58f323
|
Merge ser/de modules.
|
2020-10-10 13:43:14 +08:00 |
|
Stephen Chung
|
ec19103478
|
Fix serde typo.
|
2020-10-07 15:51:00 +08:00 |
|
Stephen Chung
|
f92d992165
|
Handle timestamps in serde.
|
2020-09-27 22:34:07 +08:00 |
|
Stephen Chung
|
b604ea3e93
|
Fix serde doc test.
|
2020-08-06 22:47:10 +08:00 |
|
Stephen Chung
|
130bcfe293
|
Fix serde.
|
2020-08-06 21:19:54 +08:00 |
|
Stephen Chung
|
2f395492de
|
Simply error code.
|
2020-08-06 10:17:32 +08:00 |
|
Stephen Chung
|
3d6c83c6d8
|
Fix serde builds.
|
2020-08-04 09:47:48 +08:00 |
|
Stephen Chung
|
6b600704a3
|
Avoid warnings.
|
2020-07-26 15:53:22 +08:00 |
|
John-John Tedro
|
ea22591e36
|
Support u128/i128 types during serialization
|
2020-07-24 19:08:59 +02:00 |
|
Alvin Wong
|
4a3a32dc3a
|
Fix serializing externally-tagged enum representations
|
2020-07-06 21:11:41 +08:00 |
|
Alvin Wong
|
0644c67252
|
Impl. deserializing enum representations
|
2020-07-06 18:32:22 +08:00 |
|
Alvin Wong
|
8f53ce50d4
|
Ensure rhai::INT can be deserialized into any integer types
|
2020-07-06 15:30:56 +08:00 |
|
Alvin Wong
|
8bc1b25edd
|
Fix only_i32 build
|
2020-07-06 15:30:55 +08:00 |
|
Stephen Chung
|
368b4a480b
|
Reformat code.
|
2020-07-04 22:53:00 +08:00 |
|
Stephen Chung
|
b3b3a083b8
|
Add docs on serde feature.
|
2020-07-04 15:39:40 +08:00 |
|
Stephen Chung
|
78c94daf46
|
Add ser::to_dynamic.
|
2020-07-03 22:42:56 +08:00 |
|
Stephen Chung
|
fa84e5c502
|
Add serde deserialization.
|
2020-07-03 17:19:55 +08:00 |
|