rkyv (archive) is a zero-copy deserialization framework for Rust.
API Documentation
- rkyv, the core library
- rkyv_dyn, which adds trait object support to rkyv
- rkyv_typename, a type naming library
Book
- The rkyv book covers the motivation and architecture of rkyv
Sister Crates:
rkyv in action
use ;
let value = Test ;
let mut serializer = new;
serializer
.serialize_value
.expect;
let buf = serializer.into_inner;
let archived = unsafe ;
assert_eq!;
assert_eq!;
assert_eq!;
let mut deserializer = AllocDeserializer;
let deserialized = archived
.deserialize
.expect;
assert_eq!;