TedDriggs / darling

A Rust proc-macro attribute parser
MIT License
983 stars 66 forks source link

Flatten #270

Closed TedDriggs closed 7 months ago

TedDriggs commented 7 months ago

Add support for #[darling(flatten)]; this does the same thing that #[serde(flatten)] does, removing a layer of structure in the AST representation to allow for "merging" two structs together.

Fixes #146