Nesting
Nesting is a Rust proc-macro library for defining structs, enums, and impls in a nested fashion.
Ideal for writing configs or heavily-nested data structures.
Installation
Example
nest!
}
}
}
}
Check out the docs for more info or take a look at the nesting-examples directory for a more detailed showcase of everything you can do with this crate.