We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
prost_build::Config
I want to generate code in a mod block by procedural macro. So I need a method to get generated code straightly like this:
fn compile<P>(&mut self, protos: &[P], includes: &[P]) -> io::Result<String> where P: AsRef<Path> { ... }
and return code like this:
struct HelloRequest { ... } struct HelloReply { ... } // generated custom service pub mod server { ... }
The text was updated successfully, but these errors were encountered:
Is a PR welcome?
Sorry, something went wrong.
prost_build::Config::compile_one
No branches or pull requests
I want to generate code in a mod block by procedural macro. So I need a method to get generated code straightly like this:
and return code like this:
The text was updated successfully, but these errors were encountered: