#macro #structmap #struct #macro-derive #convert #proc #proc-macro

macro struct2map-derive

Proc derive macro for structmap crate

1 unstable release

0.1.6 Oct 11, 2022

#239 in #proc


Used in struct2map

MIT license

11KB
144 lines

structmap-derive

Implements the core procedural macro crate for structmap, with functionality for type conversion by wrangling with Rust's AST.


lib.rs:

Implements the functionality to enable conversion between a struct type a map container type in Rust through the use of a procedural macros.

Dependencies

~1.5MB
~37K SLoC