rkyvtypename adds type names for rkyvdyn.
Resources
Learning Materials
- The rkyv book covers the motivation, architecture, and major
features of rkyv
- The rkyv discord is a great place to get help with specific issues and meet
other people using rkyv
Documentation
Benchmarks
- The rust serialization benchmark is a
shootout style benchmark comparing many rust serialization solutions. It includes special
benchmarks for zero-copy serialization solutions like rkyv.
Sister Crates
- bytecheck, which rkyv uses for validation
- ptr_meta, which rkyv uses for pointer manipulation
- rend, which rkyv uses for endian-agnostic features
Example
```rust
use rkyv_typename::TypeName;
[derive(TypeName)]
[typename = "CoolType"]
struct Example(T);
fn main() {
let mut typename = String::new();
Example::::buildtypename(|piece| typename += piece);
asserteq!(typename, "CoolType");
}
```