diny
An asynchronous, alloc-free, serialization framework written in 100% safe Rust.
diny is currently experimental and not ready for production use. Additionally, it requires bulding with the nightly Rust toolchain until GAT's are stabilized.
diny is a slightly opinionated, asynchronous serialization framework that works very similarly to the popular Serde framework. Its main purpose is to support asynchronous serialization in memory constrained execution environments. Because of that, it makes some slightly different design tradeoffs than Serde.
Usage
Add a dependency on diny and a serializer format in Cargo.toml:
[]
= { = "0.1", = ["derive"] }
= "0.1"
Turn on the feature for GAT's and derive AsyncSerialize / AsyncDeserialize on the desired data types.
use block_on;
use ;