#cbor #applications #cbordata

cbordata

CBOR processing package for document databases and distributed applications

6 releases

Uses old Rust 2015

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

#1178 in Parser implementations

Download history 2255/week @ 2024-12-25 5802/week @ 2025-01-01 6058/week @ 2025-01-08 4791/week @ 2025-01-15 6868/week @ 2025-01-22 5668/week @ 2025-01-29 4779/week @ 2025-02-05 5382/week @ 2025-02-12 6243/week @ 2025-02-19 7306/week @ 2025-02-26 6858/week @ 2025-03-05 8442/week @ 2025-03-12 6494/week @ 2025-03-19 8821/week @ 2025-03-26 9474/week @ 2025-04-02 10053/week @ 2025-04-09

36,154 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