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

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

#92 in Debugging

Download history 123/week @ 2023-12-22 135/week @ 2023-12-29 202/week @ 2024-01-05 216/week @ 2024-01-12 247/week @ 2024-01-19 327/week @ 2024-01-26 311/week @ 2024-02-02 220/week @ 2024-02-09 258/week @ 2024-02-16 284/week @ 2024-02-23 275/week @ 2024-03-01 293/week @ 2024-03-08 209/week @ 2024-03-15 253/week @ 2024-03-22 264/week @ 2024-03-29 294/week @ 2024-04-05

1,066 downloads per month
Used in 5 crates

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

~5MB
~117K SLoC