Stephen Chung
8f128f37f0
Add Dynamic::NULL to simplify this pointer binding.
2022-11-08 16:16:42 +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
d6b0f99781
Refactor.
2022-10-10 16:46:35 +08:00
Stephen Chung
8d1310c0f3
Make Scope serializable.
2022-09-26 18:14:45 +08:00
Stephen Chung
ce56c43bc0
Refactor serde impl.
2022-09-25 16:20:36 +08:00
Stephen Chung
5d275b5307
Simplify to calc_fn_hash.
2022-09-21 11:46:23 +08:00
Stephen Chung
1bfedf516d
Use a bloom filter.
2022-09-08 17:49:37 +08:00
Stephen Chung
2f7d6298e0
Move format_type into api.
2022-09-08 10:52:58 +08:00
Stephen Chung
80772df4f4
Shut up clippy.
2022-08-29 14:27:05 +08:00
Stephen Chung
b40ca9e40d
Improve docs.
2022-08-24 18:27:58 +08:00
Stephen Chung
a9b6e8b98c
Fix builds.
2022-08-18 21:16:42 +08:00
Stephen Chung
f7d910fa55
Use references for JSON metadata.
2022-08-14 14:20:37 +08:00
Stephen Chung
d9ffac17fa
Fix tests.
2022-08-05 23:45:40 +08:00
Stephen Chung
13a1147dea
Add include_standard_packages to Definitions.
2022-07-29 13:39:51 +08:00
Stephen Chung
2f948a784c
Clean up more clippy.
2022-07-27 18:04:59 +08:00
Stephen Chung
39dee556c4
Clean up clippy.
2022-07-27 16:04:24 +08:00
Stephen Chung
492d79d8a2
Add documentation to Module.
2022-07-25 17:42:15 +08:00
Stephen Chung
b6528bd51d
Reduce usage of as_ref and as_mut.
2022-07-05 16:26:38 +08:00
Stephen Chung
b9cbeb65d6
Use Option instead of once/empty.
2022-06-11 16:01:15 +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
63359f3f81
Unused parameters naming.
2022-04-11 16:29:16 +08:00
Stephen Chung
b35d965e55
Reverse Box<[...]> to Vec.
2022-03-06 16:37:27 +08:00
Stephen Chung
f8cee0fe4e
Simplify using ..
2022-02-08 09:02:15 +08:00
Stephen Chung
6b02dde848
Gate dead code for no_module.
2022-01-29 11:09:43 +08:00
Stephen Chung
66af69aaff
Refactor and add state to debugger.
2022-01-28 18:59:18 +08:00
Stephen Chung
d58df1fb34
Engine::gen_fn_signatures enumerates non-standard external packages.
2022-01-17 23:15:22 +08:00
Stephen Chung
86fc2f7bf1
Refine types display.
2022-01-17 21:51:04 +08:00
Stephen Chung
25f54c0ea5
Pretty-display return types.
2022-01-13 22:51:10 +08:00
Stephen Chung
09aa9fc3db
Extract metadata into separate type.
2022-01-13 19:07:56 +08:00
Stephen Chung
a3a527923a
Fix metadata param name in JSON.
2022-01-13 18:13:38 +08:00
Stephen Chung
bc6bf6c6ba
Change expect("exists") to unwrap().
2022-01-06 11:07:52 +08:00
Stephen Chung
328f6910b6
Refactor wasm feature gates.
2022-01-04 22:16:20 +08:00
Stephen Chung
05d4c81e7a
Use type alias for error.
2021-12-27 12:27:31 +08:00
Stephen Chung
01c35808cb
Use type alias
2021-12-25 23:49:14 +08:00
Stephen Chung
7ff50451cc
Make comments multiline.
2021-12-21 22:16:03 +08:00
Stephen Chung
b85a9b3c1c
Extract doc-comment on plugin functions.
2021-12-21 16:14:07 +08:00
Stephen Chung
f74486f904
Separate return type name and use references for serialization.
2021-12-21 13:21:29 +08:00
Stephen Chung
c7ec27acc7
Split AST into separate files.
2021-12-17 16:07:13 +08:00
Stephen Chung
2a7a648429
Reduce feature gates.
2021-12-06 20:52:47 +08:00
Stephen Chung
cc98e82ea1
Include hashes in JSON output.
2021-12-06 11:12:54 +08:00
Stephen Chung
9a5bd9396a
Fix builds.
2021-12-02 17:46:39 +08:00
Stephen Chung
27c0181035
Fix build.
2021-12-02 16:01:37 +08:00
Stephen Chung
41dd989866
Support deserialization into byte arrays for BLOB's via serde_bytes.
2021-12-02 14:10:53 +08:00
Stephen Chung
5363b0724f
Support Option in from_dynamic.
2021-12-02 12:50:11 +08:00
Stephen Chung
0ab86ac623
Move AST::new() and AST::new_with_source() to internals.
2021-11-29 10:58:46 +08:00
Stephen Chung
280b5b405e
Make some new functions const.
2021-11-25 17:09:00 +08:00
Stephen Chung
a757dfe89d
Add blobs.
2021-11-23 14:58:54 +08:00
Stephen Chung
98707912e0
Convert for loop to iterator.
2021-11-15 14:30:00 +08:00
Stephen Chung
64b889fb95
Restructure code base.
2021-11-13 22:36:23 +08:00