flatbuffers/rust/flexbuffers
Colin c0be1cb7a5
[rust] Remove debug code (#6475)
* Remove debug code

This was added for testing in the recent genericize PR for flexbuffer Reader.

* Added alloc tests -> MapReader::{is_empty, index_key, len}

* Added , accessible through Deref to deprecation warning
2021-02-24 13:00:18 -05:00
..
src [rust] Remove debug code (#6475) 2021-02-24 13:00:18 -05:00
.gitignore Rust Flexbuffers (#5669) 2020-05-07 14:11:26 -07:00
Cargo.toml [rust] Genericize flexbuffer reader (#6450) 2021-02-16 08:04:48 -05:00
README.md Rust Flexbuffers Documentation update (#5979) 2020-06-18 00:01:48 -07:00

README.md

Flexbuffers

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.