Binary encoders
Recipe | Crates | Categories |
---|---|---|
bincode | ||
CBOR with ciborium | ||
prost | ||
protobuf | ||
MessagePack with rmp-serde |
bincode
A binary serialization / deserialization strategy for transforming structs into bytes and vice versa.
ProtoBuf
prost
prost
is a Protocol Buffers implementation for the Rust Language.
protobuf
protobuf
is a Rust implementation of Google protocol buffers.
MessagePack with rmp-serde
This crate connects Rust MessagePack library with serde providing an ability to easily serialize and deserialize both Rust built-in types, the standard library and custom data structures.
CBOR with ciborium
Concise Binary Object Representation is a binary data serialization format loosely based on JSON. ciborium
is a serde
implementation of CBOR using ciborium-basic.
[binary_encoders: write; add anchors; add examples; add table; add to index / SUMMARY (P2)](https://github.com/john-cd/rust_howto/issues/349)