#cbor #diagnostics #notation #macro #format #edn #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

#430 in Procedural macros

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–9MB
~193K SLoC