#metadata #struct #macro #information #attaching

no-std struct-metadata

Macros for attaching metadata to structs

6 releases

0.1.5 Jan 12, 2024
0.1.4 Sep 28, 2023

#1060 in Rust patterns


Used in 2 crates (via assemblyline-models)

MIT license

14KB
214 lines

Macros for attaching metadata to structs.

When a struct is used to define an interface with external systems there is often additonal information about the external system that is required. Rather than having that information stored separately this library intends to maintain a single source of truth.

Dependencies

~3.5MB
~64K SLoC