store
is a dead simple binary (de)serializer utilizing the
Serialize
and Deserialize
traits
provided by serde
.
It is fully compatible with std
, no_std
, and no_std
+ alloc
.
Installation
To use store
, add this to your Cargo.toml:
[]
= "0.1.0-alpha.3"
Dumping types
store
can dump types that implement Serialize
into
mutable byte buffers.
use Serialize;
use Dump;
;
Loading types
store
will also decode structures that implement
Deserialize
from byte buffers.
use Deserialize;
use Load;
;