#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

#740 in Procedural macros

Download history 6/week @ 2024-09-21 1/week @ 2024-09-28 19/week @ 2024-10-12 154/week @ 2024-10-19 2/week @ 2024-11-02

175 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

~7–10MB
~184K SLoC