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

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

#390 in Procedural macros

Download history 153/week @ 2024-04-01 13/week @ 2024-04-08

166 downloads per month

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

~6.5–9MB
~191K SLoC