3 ms·
The alloc crate stabilization should provide serde with improved options. Currently they maintain two json modules, one that does heap allocation and one that d
by CameronNemo 7y ago
The alloc crate stabilization should provide serde with improved options. Currently they maintain two json modules, one that does heap allocation and one that does not.
https://serde.rs/no-std.html https://serde.rs/no-std.html
https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html#the-alloc-crate-is-stable https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html#the-a...
- masklinn 7y agoWouldn’t the non-allocating module remain useful and the allocating one just get lowered to depend on alloc rather than std?