Postcard
A (TODO), no_std, serde compatible message library for Rust.
Design plans
- usizes are varints
- enum variants are usizes
- variable length data, like strings and vecs, are prefixed by their length as a varint/usize, e.g. "hello" is [5, h, e, l, l, o]
heapless
data structures are used as the first class serialization/deserialization target.- there will be a
std
feature that allows you to either auto-convert from heapless to non-heapless, or jump directly to that, whatever is easier