Encoding

49 projects

Serde is the foundation of serialization in Rust. You derive Serialize and Deserialize on your types once, and format crates handle the rest: serde_json for JSON, toml, ron for Rust Object Notation, csv for tabular data, rmp-serde from msgpack-rust for MessagePack, and bson for MongoDB documents. When JSON parsing speed matters, simd-json and sonic-rs use SIMD instructions to go faster than serde_json on large inputs.

For schema-first formats, prost generates idiomatic Rust types from Protocol Buffers definitions and is what tonic uses for gRPC, while rust-protobuf is the older alternative. capnproto-rust implements Cap'n Proto. rkyv takes a different approach: it lays data out so it can be read directly from bytes without deserializing, which helps with memory-mapped files and caches.

For embedded and network protocols, postcard is a compact Serde format that works in no_std. quick-xml is a fast streaming XML reader and writer, html5ever is the HTML parser from the Servo project, and encoding_rs converts legacy text encodings. goblin parses ELF, PE and Mach-O binaries. YAML users should note that yaml-rust is unmaintained and newer forks such as saphyr continue that work.

rust-asn1by alexASN.1

ASN.1 (DER) serializer

asn10.25.14.6m/90d updated 4d ago

135

rxingby rxing-coreBarcode

A rust port of the zxing barcode library.

rxing0.9.4359.3k/90d updated 2d ago

342

bincodeBinary

A binary encoder/decoder

bincode3.0.090.3m/90d

bincode-nextBinary

A binary encoder/decoder, successor of the now unmaintained bincode

bincode-next3.2.02.1m/90d

postcardby jamesmunnsBinary

Postcard is a #![no_std] focused serializer and deserializer for Serde.

postcard1.2.050.7m/90d updated 5d ago

1.6k

goblinby m4bBinary

Cross-platform, zero-copy, and endian-aware binary parsing

goblin0.10.726.1m/90d updated 1mo ago

1.6k

bson-rustby mongodbBSON

Encoding and decoding support for BSON

bson3.1.07.8m/90d updated today

462

byteorderby BurntSushiByte swapping

Supports big-endian, little-endian and native byte orders

byteorder1.5.1237.7m/90d updated 3d ago

1.1k

capnproto-rustby capnprotoCap'n Proto

Cap'n Proto is a type system for distributed systems

updated 3d ago

2.5k

serde_cborCBOR

CBOR support for serde

serde_cbor0.11.214.3m/90d

encoding_rsby hsivonenCharacter Encoding

A Gecko-oriented implementation of the Encoding Standard

encoding_rs0.8.44180.6m/90d updated 16d ago

481

rust-encodingby lifthrasiirCharacter Encoding

Character encoding support for Rust. (also known as rust-encoding) It is based on WHATWG Encoding Standard, and also provides an advanced interface for error detection and recovery.

encoding0.2.333.2m/90d updated 2y ago

289

crc-rsby mrhoorayCRC

Rust implementation of CRC(16, 32, 64) with support of various standards

crc3.4.0103.1m/90d updated 11mo ago

236

rust-csvby BurntSushiCSV

A fast and flexible CSV reader and writer, with support for Serde

csv1.4.072.3m/90d updated 4mo ago

2k

datamatrix-rsby jannschuData Matrix

Data Matrix (ECC 200) decoding and encoding with an optimizing encoder

datamatrix0.3.377.2k/90d updated 6mo ago

20

edn-rsby naomijubEDN

Crate to parse and emit EDN format into Rust types.

edn-rs0.19.025.3k/90d updated 5mo ago

81

flatc-rustby frolFlatBuffers

FlatBuffers compiler (flatc) integration for Cargo build scripts

flatc-rust0.2.0268.8k/90d updated 5mo ago

144

har-rsby mandreanHAR

A HTTP Archive Format (HAR) serialization & deserialization library

har0.9.073.3k/90d updated 8mo ago

53

html5everby servoHTML

High-performance browser-grade HTML5 parser

html5ever0.40.170.8m/90d updated 18d ago

2.7k

sonic-rsby cloudwegoJSON

A fast Rust JSON library based on SIMD.

sonic-rs0.5.123.7m/90d updated 15d ago

951

rust-ajsonby importcjjJSON

Get JSON values quickly

ajson0.3.13.8k/90d updated 4y ago

109

jcs-admitby probityaiJSON

Refuses JSON that canonicalizes ambiguously (duplicate members, unsafe integers, excess nesting) before RFC 8785 canonicalization, for bytes that will be signed or hashed.

jcs-admit0.1.349.3k/90d Pythonarchived

0

jzon-rsby rustadoptJSON

JSON implementation

jzon0.12.51m/90d updated 10mo ago

16

jsonby serde-rsJSON

JSON support for Serde framework

serde_json1.0.154492.6m/90d updated 19d ago

5.8k

simd-jsonby simd-liteJSON

High performance JSON parser based on a port of simdjson

simd-json0.19.07.7m/90d updated 1mo ago

1.4k

bufjsonby vcschappJSON

Streaming JSON parser and lexer, no copy/no allocation, optional streaming JSON Pointer evaluator

bufjson1.3.02.4k/90d updated 17d ago

12

msgpack-rustby 3HrenMsgPack

Low/high level MessagePack implementation

rmp-serde/v0.14.4updated 11mo ago

1.4k

netcdfby georustNetCDF

Medium-level netCDF bindings, allowing easy reading and writing of array-like structures to a file.

netcdf0.12.165.1k/90d updated 21d ago

107

pem-rsby jcreekmorePEM

Parse and encode PEM-encoded data

pem4.0.0139.3m/90d updated 4mo ago

58

rust-protobufby stepanchegProtocolBuffers

Rust implementation of Google protocol buffers

updated 1y ago

3k

prostby tokio-rsProtocolBuffers

prost0.14.6195.3m/90d updated 22d ago

4.9k

qrcode-generatorby magiclenQR code

Generates ISO/IEC 18004 QR Code and Micro QR Code symbols and ISO/IEC 23941 rMQR symbols in pure Rust, then renders them as grayscale, PNG and SVG images.

qrcode-generator6.1.21.3m/90d updated 2mo ago

78

qrcode-rust2by sorairolakeQR code

A QR code encoding library

qrcode20.18.05.1k/90d updated 2d ago

2

rqrrby WanzenBugQR code

Detect and read QR codes from any image source

rqrr0.11.01.5m/90d updated 3mo ago

85

rkyvrkyv

Rkyv (archive) is a zero-copy deserialization framework

rkyv0.8.1843.1m/90d updated 2mo ago

4.4k

ronby ron-rsRON (Rusty Object Notation)

Rusty Object Notation

ron0.12.325.7m/90d updated 6d ago

4.1k

serde-auxby iddmSerde

Additional tools for using with the serde library.

serde-aux4.7.08.2m/90d updated 1y ago

173

taploby tamasfeTOML

A TOML toolkit

taplo0.14.0707k/90d updated 4mo ago

2.4k

tomlby toml-rsTOML

toml1.2.3+spec-1.1.0360.5m/90d updated 3d ago

1.1k

stfu8by vitiral

Sorta Text Format in UTF-8

stfu80.2.74m/90d updated 2y ago

25

RustyXMLby FlorobXML

An XML parser

updated 5y ago

107

xml-rsby netvlXML

A streaming XML library

updated 4mo ago

470

sxd-documentby shepmasterXML

An XML library

sxd-document0.3.2665.3k/90d updated 1y ago

161

sxd-xpathby shepmasterXML

An XPath library

sxd-xpath0.4.2600.6k/90d updated 1y ago

134

quick-xmlby tafiaXML

High performance XML pull reader/writer

quick-xml0.42.0205.6m/90d updated 4d ago

1.6k

yaserdeby luminventXML

Yet Another Serializer/Deserializer specialized for XML

yaserde0.13.2522.2k/90d updated 1mo ago

203

yaml-rustby chyh1990YAML

The missing YAML 1.2 implementation.

yaml-rust0.4.534.8m/90d updated 2y ago

644

saphyrby saphyr-rsYAML

A set of crates dedicated to parsing YAML.

saphyr0.4.11.8m/90d updated 3d ago

342

serde-saphyrby bourumir-wyngsYAML

YAML (de)serializer for Serde, emphasizing panic-free parsing and good error reporting

serde-saphyr2.2.020.7m/90d updated today

260

Built on the open rust-unofficial/awesome-rust list by its contributors, licensed CC0 1.0. Crate Atlas is an independent project, not affiliated with the list's maintainers.

About Synced Dec 4, 2026

© 2026 Crate Atlas

Esc

Type to search every entry. ↑↓ to move, Enter to open.