carllerche / codegen

A Rust library providing a builder API to generate Rust code.
MIT License
248 stars 67 forks source link

Annotations for structs, enums and variants #35

Open josefrcm opened 3 years ago

josefrcm commented 3 years ago

When dealing with some serialization libraries, it's required to add annotations to structs, enums and variants. There are currently three PR fixing this issue, could the maintainers review them and merge at least one of them?

32 #33 #34

(the last one was submitted by me)

51yu commented 3 years ago

Any update for this. That would be great if we have annotations/attributes for structs/enums/variants