#cbor #diagnostics #edn #notation #macro #format #pretty-printed

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

#12 in #edn

Download history 1/week @ 2024-12-07 14/week @ 2024-12-14 93/week @ 2025-01-11 194/week @ 2025-01-18 27/week @ 2025-01-25 69/week @ 2025-02-01 1016/week @ 2025-02-08 526/week @ 2025-02-15 269/week @ 2025-02-22 553/week @ 2025-03-01

2,381 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


lib.rs:

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.

Dependencies

~7–10MB
~181K SLoC