capnproto-rust icon indicating copy to clipboard operation
capnproto-rust copied to clipboard

Add a syntax extension

Open emberian opened this issue 11 years ago • 1 comments

Especially with cargo, generating code using tools can be annoying. Add a syntax extension that will generate the code into a module. With include_str etc, no flexibility is lost.

emberian avatar Sep 06 '14 19:09 emberian

This would be really cool -- much better than my current hack for getting Cargo to do code generation, which you can see in these two repositories:

https://github.com/dwrensha/capnp-rpc-rust https://github.com/dwrensha/acronymy

dwrensha avatar Sep 06 '14 19:09 dwrensha