| Crates.io | achan |
| lib.rs | achan |
| version | 0.2.0 |
| created_at | 2024-02-10 14:04:53.066016+00 |
| updated_at | 2024-02-10 16:17:42.011483+00 |
| 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_stdThis crate is compatible with no_std environments, requiring only the alloc crate.
serdeSupport 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.