Encoding

48 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.24.14m/90d updated 4d ago

136

rxingby rxing-coreBarcode

A rust port of the zxing barcode library.

rxing0.9.3212.6k/90d updated 20d ago

332

bincodeBinary

A binary encoder/decoder

bincode3.0.071.1m/90d

bincode-nextBinary

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

bincode-next3.1.11.1m/90d

postcardby jamesmunnsBinary

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

postcard1.1.331.8m/90d updated 1mo ago

1.5k

goblinby m4bBinary

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

goblin0.10.719.4m/90d updated 1mo ago

1.6k

bson-rustby mongodbBSON

Encoding and decoding support for BSON

bson3.1.07.3m/90d updated today

461

byteorderby BurntSushiByte swapping

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

byteorder1.5.0181.8m/90d updated 2y ago

1.1k

capnproto-rustby capnprotoCap'n Proto

Cap'n Proto is a type system for distributed systems

updated 1d ago

2.5k

serde_cborCBOR

CBOR support for serde

serde_cbor0.11.212.1m/90d

encoding_rsby hsivonenCharacter Encoding

A Gecko-oriented implementation of the Encoding Standard

encoding_rs0.8.42129m/90d updated 8d ago

470

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.332.8m/90d updated 2y ago

289

crc-rsby mrhoorayCRC

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

crc3.4.078.6m/90d updated 9mo ago

234

rust-csvby BurntSushiCSV

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

csv1.4.057.8m/90d updated 2mo ago

2k

datamatrix-rsby jannschuData Matrix

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

datamatrix0.3.355.9k/90d updated 4mo ago

20

edn-rsby naomijubEDN

Crate to parse and emit EDN format into Rust types.

edn-rs0.19.055.8k/90d updated 4mo ago

81

flatc-rustby frolFlatBuffers

FlatBuffers compiler (flatc) integration for Cargo build scripts

flatc-rust0.2.0180.7k/90d updated 3mo ago

144

har-rsby mandreanHAR

A HTTP Archive Format (HAR) serialization & deserialization library

har0.9.061.4k/90d updated 7mo ago

51

html5everby servoHTML

High-performance browser-grade HTML5 parser

html5ever0.40.146.3m/90d updated 15d ago

2.6k

sonic-rsby cloudwegoJSON

A fast Rust JSON library based on SIMD.

sonic-rs0.5.103.6m/90d updated 9d ago

936

rust-ajsonby importcjjJSON

Get JSON values quickly

ajson0.3.16.8k/90d updated 4y ago

109

jzon-rsby rustadoptJSON

JSON implementation

jzon0.12.51.1m/90d updated 8mo ago

16

jsonby serde-rsJSON

JSON support for Serde framework

serde_json1.0.154372.6m/90d updated 5d ago

5.7k

simd-jsonby simd-liteJSON

High performance JSON parser based on a port of simdjson

simd-json0.18.16.1m/90d updated 16d ago

1.4k

bufjsonby vcschappJSON

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

bufjson1.2.1670/90d updated 1d ago

11

msgpack-rustby 3HrenMsgPack

Low/high level MessagePack implementation

rmp-serde/v0.14.4updated 10mo ago

1.4k

netcdfby georustNetCDF

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

netcdf0.12.154.2k/90d updated 11d ago

105

pem-rsby jcreekmorePEM

Parse and encode PEM-encoded data

pem4.0.091.8m/90d updated 2mo ago

58

rust-protobufby stepanchegProtocolBuffers

Rust implementation of Google protocol buffers

updated 1y ago

3k

prostby tokio-rsProtocolBuffers

prost0.14.4149.8m/90d updated 16d ago

4.8k

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.1m/90d updated 18d ago

75

qrcode-rust2by sorairolakeQR code

A QR code encoding library

qrcode20.18.02.1k/90d updated 1d ago

2

rqrrby WanzenBugQR code

Detect and read QR codes from any image source

rqrr0.11.0993k/90d updated 1mo ago

84

rkyvrkyv

Rkyv (archive) is a zero-copy deserialization framework

rkyv0.8.1841.3m/90d updated 25d ago

4.4k

ronby ron-rsRON (Rusty Object Notation)

Rusty Object Notation

ron0.12.221.9m/90d updated today

4k

serde-auxby iddmSerde

Additional tools for using with the serde library.

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

172

taploby tamasfeTOML

A TOML toolkit

taplo0.14.0738.2k/90d updated 2mo ago

2.4k

tomlby toml-rsTOML

toml1.1.8+spec-1.1.0267.4m/90d updated 12d ago

1.1k

stfu8by vitiral

Sorta Text Format in UTF-8

stfu80.2.73.1m/90d updated 2y ago

25

RustyXMLby FlorobXML

An XML parser

updated 5y ago

107

xml-rsby netvlXML

A streaming XML library

updated 2mo ago

471

sxd-documentby shepmasterXML

An XML library

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

161

sxd-xpathby shepmasterXML

An XPath library

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

134

quick-xmlby tafiaXML

High performance XML pull reader/writer

quick-xml0.42.0141.4m/90d updated 1mo ago

1.6k

yaserdeby luminventXML

Yet Another Serializer/Deserializer specialized for XML

updated 2mo ago

201

yaml-rustby chyh1990YAML

The missing YAML 1.2 implementation.

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

647

saphyrby saphyr-rsYAML

A set of crates dedicated to parsing YAML.

saphyr0.2.2997.4k/90d updated 5d ago

338

serde-saphyrby bourumir-wyngsYAML

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

serde-saphyr2.0.08.8m/90d updated today

235

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 Oct 21, 2026

© 2026 Crate Atlas

Esc

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