Crates.io | achan |
lib.rs | achan |
version | 0.2.0 |
source | src |
created_at | 2024-02-10 14:04:53.066016 |
updated_at | 2024-02-10 16:17:42.011483 |
description | A simple & convenient representation for any value |
homepage | |
repository | https://github.com/konall/achan |
max_upload_size | |
id | 1134973 |
size | 31,086 |
This crate provides a simple & convenient representation for any value:
enum Value {
Null,
Boolean(bool),
Number(f64),
String(String),
List(Vec<Value>),
Map(BTreeMap<String, Value>)
}
no_std
This crate is compatible with no_std
environments, requiring only the alloc
crate.
serde
Support for serialising/deserialising using the serde
framework can be enabled via the serde
feature.
This crate defines and implements a WIT API when the wasm-component
feature is enabled, allowing it to be embedded in WASM applications.