Binary encoders

bincode

bincode bincode-crates.io bincode-github bincode-lib.rs cat-encoding cat-network-programming

A binary serialization / deserialization strategy for transforming structs into bytes and vice versa.

ProtoBuf

prost

prost prost-crates.io prost-github prost-lib.rs cat-encoding

prost is a Protocol Buffers implementation for the Rust Language.

protobuf

protobuf protobuf-crates.io protobuf-github protobuf-lib.rs

protobuf is a Rust implementation of Google protocol buffers.

MessagePack with rmp-serde

rmp-serde rmp-serde-crates.io rmp-serde-github rmp-serde-lib.rs cat-encoding

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

ciborium ciborium-crates.io ciborium-github ciborium-lib.rs cat-data-structures cat-no-std cat-embedded cat-encoding cat-parsing

Concise Binary Object Representation is a binary data serialization format loosely based on JSON. ciborium is a serde implementation of CBOR using ciborium-basic.