github.com/pyfisch/cbor

CBOR support for serde.

Open this visualization on its own page →

Contributors

30

Lines of Code

565

From

2015-09-13

To

2020-06-04

About pyfisch/cbor

Serde CBOR is a Rust library that provides CBOR (Concise Binary Object Representation) serialization and deserialization support through the Serde framework. CBOR is a binary encoding format defined in RFC 7049 that offers a compact and efficient alternative to JSON, supporting the same data model but with faster parsing and smaller output sizes.

The library includes features for standard CBOR encoding, support for no-std environments, packed encoding modes, and CBOR tags. It allows developers to easily serialize and deserialize Rust types to and from CBOR format with minimal code changes, and provides a Value type for working with untyped CBOR data. The project supports Rust 1.40 and later versions.

The repository is now archived as of August 2021. While the implementation has been used in hundreds of projects, the maintainer decided to retire it due to the complexity of managing interactions between various features and the reluctance to introduce breaking changes without active personal use of the library. For new projects or users encountering issues, the maintainer recommends considering alternative implementations such as ciborium or minicbor.

Share this video