2 releases

✓ Uses Rust 2018 edition

0.1.1 Jun 29, 2020
0.1.0 May 12, 2020

#4 in #zero-copy

Download history 14/week @ 2020-05-11 7/week @ 2020-05-18 4/week @ 2020-05-25 8/week @ 2020-06-01 3/week @ 2020-06-08 10/week @ 2020-06-15 349/week @ 2020-06-22 657/week @ 2020-06-29

132 downloads per month
Used in lucid-kv-client


2.5K SLoC


Flexbuffers is a schema-less binary format developed at Google. FlexBuffers can be accessed without parsing, copying, or allocation. This is a huge win for efficiency, memory friendly-ness, and allows for unique use cases such as mmap-ing large amounts of free-form data.

FlexBuffers' design and implementation allows for a very compact encoding, with automatic sizing of containers to their smallest possible representation (8/16/32/64 bits). Many values and offsets can be encoded in just 8 bits.

FlexBuffers supports Serde for automatically serializing Rust data structures into its binary format.

See Examples for Usage:

Flexbuffers is the schema-less cousin of Flatbuffers.


~26K SLoC