-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a syntax extension #11
Comments
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 |
Implement as proc-macro
Can this ancient bug be closed? It seems using a (I do wish we didn't need the C++ binary, but that's not what this issue is about.) |
This issue was opened in September of 2014. In November of 2014, capnproto-rust started using a I could still imagine someone wanting to use a procedural macro, like |
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.The text was updated successfully, but these errors were encountered: