carllerche / codegen

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

support adding macros to a function #37

Closed basavesh closed 3 years ago

basavesh commented 3 years ago

Using this functionality for my project. It would be great if codegen officially supports this.

basavesh commented 3 years ago

I guess I wanted to add an attribute and not really a macro.