6 releases

Uses old Rust 2015

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

#1119 in Parser implementations

Download history 4705/week @ 2024-03-14 5914/week @ 2024-03-21 4985/week @ 2024-03-28 3356/week @ 2024-04-04 3613/week @ 2024-04-11 4527/week @ 2024-04-18 4221/week @ 2024-04-25 3883/week @ 2024-05-02 5484/week @ 2024-05-09 4523/week @ 2024-05-16 3409/week @ 2024-05-23 4487/week @ 2024-05-30 5189/week @ 2024-06-06 3444/week @ 2024-06-13 4425/week @ 2024-06-20 3588/week @ 2024-06-27

17,510 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
~57K SLoC