achan 0.2.0

A simple & convenient representation for any value
Documentation

achan crates.io docs.rs

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.

WASM Component

This crate defines and implements a WIT API when the wasm-component feature is enabled, allowing it to be embedded in WASM applications.