6 releases

Uses old Rust 2015

0.6.0 May 20, 2022
0.5.4 Oct 8, 2021
0.5.0 Sep 4, 2021

#1099 in Parser implementations

Download history 3454/week @ 2023-12-18 2201/week @ 2023-12-25 3761/week @ 2024-01-01 4418/week @ 2024-01-08 6534/week @ 2024-01-15 5850/week @ 2024-01-22 5028/week @ 2024-01-29 4970/week @ 2024-02-05 3224/week @ 2024-02-12 3669/week @ 2024-02-19 5184/week @ 2024-02-26 4716/week @ 2024-03-04 4429/week @ 2024-03-11 5201/week @ 2024-03-18 5570/week @ 2024-03-25 4033/week @ 2024-04-01

19,276 downloads per month

MIT license

66KB
1.5K SLoC

Why yet another JSON package in Rust ?

Rustdoc Build Status

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

Contribution

  • Simple workflow. Fork - Modify - Pull request.
  • Before creating a PR,
    • Run make build to confirm all versions of build is passing with 0 warnings and 0 errors.
    • Run check.sh with 0 warnings, 0 errors and all testcases passing.
    • Run perf.sh with 0 warnings, 0 errors and all testcases passing.
    • Install and run cargo spellcheck to remove common spelling mistakes.
  • Developer certificate of origin is preferred.

Dependencies

~2.5MB
~55K SLoC