#cbor #pretty-printed #no-alloc

macro no-std cbor-macro

Macros for entering CBOR in diagnostic notation (EDN) or pretty printed format

1 unstable release

0.1.0 Apr 4, 2024

#6 in #pretty-printed

Download history 937/week @ 2025-05-23 921/week @ 2025-05-30 569/week @ 2025-06-06 702/week @ 2025-06-13 693/week @ 2025-06-20 762/week @ 2025-06-27 706/week @ 2025-07-04 930/week @ 2025-07-11 1300/week @ 2025-07-18 188/week @ 2025-07-25 336/week @ 2025-08-01 280/week @ 2025-08-08 1198/week @ 2025-08-15 1634/week @ 2025-08-22 930/week @ 2025-08-29 487/week @ 2025-09-05

4,284 downloads per month
Used in minicbor-adapters

MIT/Apache

10KB
61 lines

cbor-macro

Macros for entering CBOR in diagnostic notation (EDN) or pretty printed format in Rust source as binary constants

This is useful for test vectors, or when data structures that are handed out do not not depend on runtime data.

License: MIT OR Apache-2.0

Dependencies

~7–10MB
~179K SLoC