#binary-data #cbor #diagnostics #hex #parser #notation

cbor-diag

A crate for parsing data encoded in Concise Binary Object Representation (CBOR) (in any of raw binary, hex encoded (with comments) or diagnostic notation) then printing it out in either annotated hex form or diagnostic notation

13 releases

0.1.12 May 26, 2023
0.1.11 Sep 17, 2022
0.1.9 Jun 12, 2022
0.1.8 May 24, 2021
0.1.4 Sep 20, 2019

#53 in Debugging

Download history 961/week @ 2024-07-23 1041/week @ 2024-07-30 2531/week @ 2024-08-06 6254/week @ 2024-08-13 6951/week @ 2024-08-20 7786/week @ 2024-08-27 8850/week @ 2024-09-03 9030/week @ 2024-09-10 10223/week @ 2024-09-17 12897/week @ 2024-09-24 13926/week @ 2024-10-01 12723/week @ 2024-10-08 12093/week @ 2024-10-15 13629/week @ 2024-10-22 17606/week @ 2024-10-29 19580/week @ 2024-11-05

64,928 downloads per month
Used in 441 crates (7 directly)

MIT/Apache

135KB
2.5K SLoC

cbor-diag-rs

A crate for parsing data encoded in Concise Binary Object Representation (CBOR) (in any of raw binary, hex encoded (with comments) or diagnostic notation) then printing it out in either annotated hex form or diagnostic notation. While doing so as much of the structured data as possible is retained to improve the debugging experience. The primary intention of this crate is to be used in diagnostic tools working with CBOR data.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~6.5MB
~125K SLoC