Why yet another JSON package in Rust ?
This crate makes several trade-offs that are tuned for big-data and document database.
What is CBOR
-
Concise Binary Object Representation, also called CBOR, RFC-7049link.
-
Machine friendly, designed for IoT, inter-networking of light weight devices, and easy to implement in many languages.
-
Can be used for more than data exchange, left to user imagination :) ...
-
Serialization from Rust native type to CBOR binary.
-
De-serialization from CBOR binary to Rust native type.
-
Streaming CBOR parser.
-
Sorted keys in property object.
Useful links
- API Documentation
- [CBOR][https://cbor.io/] specification
- RFC specification for CBOR.
- Release notes.
Contribution
- Simple workflow. Fork - Modify - Pull request.
- Before creating a PR,
- Run
make buildto confirm all versions of build is passing with 0 warnings and 0 errors. - Run
check.shwith 0 warnings, 0 errors and all testcases passing. - Run
perf.shwith 0 warnings, 0 errors and all testcases passing. - Install and run
cargo spellcheckto remove common spelling mistakes.
- Run
- Developer certificate of origin is preferred.