Commit Graph

41 Commits

Author SHA1 Message Date
9928e0f1b0 Update all dependencies 2023-11-14 01:59:25 +00:00
Stephen Chung
4998eb6139 Add has_context to plugin functions. 2022-12-03 17:03:15 +08:00
Stephen Chung
fcc363af60 Add doc-comments on plugin modules to Module::doc field. 2022-12-01 23:29:42 +08:00
Stephen Chung
3e7408511e Satisfy more clippy. 2022-11-23 16:14:11 +08:00
Stephen Chung
31292e683d Satisfy Clippy. 2022-11-23 13:24:14 +08:00
Stephen Chung
25fde7dbed Fix tests. 2022-10-27 22:08:47 +08:00
Stephen Chung
d5f9b0f5c6 Use resolver 2. 2022-07-31 12:52:53 +08:00
Stephen Chung
0a9457a13d Bump codegen version. 2022-06-05 18:17:40 +08:00
Stephen Chung
2b9b84a764 Bump Rhai version requirement. 2022-03-28 23:24:56 +08:00
Stephen Chung
fefa633cf0 Add type alias support for plugin modules. 2022-03-19 09:43:18 +08:00
Stephen Chung
e366bd2106 Pass metadata feature to rhai. 2022-01-16 23:15:19 +08:00
Stephen Chung
b85a9b3c1c Extract doc-comment on plugin functions. 2021-12-21 16:14:07 +08:00
Stephen Chung
3f2dd23e6e Allow #[cfg(...)] in plugin functions. 2021-10-20 15:30:11 +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
94674679d9 Rename as_string and as_immutable_string. 2021-08-17 15:50:55 +08:00
Stephen Chung
a05142d4e9 Change Rhai dependency to 1. 2021-08-01 22:22:00 +08:00
Stephen Chung
204c08a131 Bump codegen. 2021-07-07 08:38:56 +08:00
Stephen Chung
02e886e33b Bump rhai_codegen version to require 0.20.3 of rhai. 2021-06-22 22:43:44 +08:00
Stephen Chung
a1950a9562 Bump versions. 2021-06-10 19:09:27 +08:00
Stephen Chung
5f36f1a28c Remove PluginFunction::is_variadic. 2021-05-29 18:32:34 +08:00
Stephen Chung
13d5092c4d Allow setters returning values when return_raw. 2021-05-02 23:51:37 +08:00
Stephen Chung
b091113334 Eliminate unnecessary data structures. 2021-04-27 22:28:01 +08:00
Stephen Chung
e31506fe51 Bump version. 2021-04-16 21:59:11 +08:00
Stephen Chung
d564a66869 Change rhai dependency. 2021-03-31 16:48:46 +08:00
Stephen Chung
c0b2eee9f2 Fix syn regression. 2021-03-29 12:46:46 +08:00
Stephen Chung
c443c3bb48 Gate codegen metadata output under metadata feature. 2021-03-26 10:59:34 +08:00
Stephen Chung
39fb78293c Change codegen tests for return_raw. 2021-03-22 19:21:42 +08:00
Stephen Chung
aa0594210c Use RhaiResult for plugin return. 2021-03-19 10:30:30 +08:00
Stephen Chung
ac1b7debe9 Add pure function attribute. 2021-02-19 23:13:41 +08:00
Stephen Chung
7fc38d4cd2 Change rhaiscript.github.io to rhai.rs 2021-01-30 07:19:54 +08:00
Stephen Chung
9e2c1a5860 Bump version. 2021-01-15 19:55:14 +08:00
Stephen Chung
96b1e7777b Update URL links. 2021-01-07 17:30:06 +08:00
Stephen Chung
fba2dd7a84 Bump version. 2020-12-30 15:17:16 +08:00
Stephen Chung
a19865d811 Add global/internal parameters to rhai_fn. 2020-11-17 12:09:56 +08:00
Stephen Chung
46b92c9d1f Allow NativeCallContext in function arguments. 2020-10-18 21:47:34 +08:00
Stephen Chung
29374a8ce7 Update version. 2020-10-16 17:48:50 +08:00
Stephen Chung
d35c216465 Add README's. 2020-10-07 22:56:21 +08:00
Stephen Chung
a04ed02b54 Simplify macro system and update doc comments. 2020-09-30 22:55:40 +08:00
Stephen Chung
d527ef7dbf Remove SC from codegen authors, add jhwgh1968 to Rhai authors. 2020-09-09 09:12:28 +08:00
Stephen Chung
73cda2d4f9 rustfmt. 2020-08-02 15:39:08 +08:00
J Henry Waugh
d01203cb5d New Procedural Macros Crate v0.1 2020-08-01 11:52:32 -05:00