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

#755 in Procedural macros

Download history 124/week @ 2024-10-20 2/week @ 2024-11-03 1/week @ 2024-12-08 14/week @ 2024-12-15 94/week @ 2025-01-12 194/week @ 2025-01-19 37/week @ 2025-01-26 62/week @ 2025-02-02

387 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.5–10MB
~181K SLoC