Struct protobuf_codegen_pure::Codegen [−][src]
pub struct Codegen { /* fields omitted */ }
Expand description
Invoke pure rust codegen. See crate docs for example.
Implementations
Set the output directory for codegen.
Add include directories.
Add inputs (.proto
files).
Specify generated code Customize
object.
Like protoc --rust_out=...
but without requiring protoc
or protoc-gen-rust
commands in $PATH
.
Similar to run
, but prints the message to stderr and exits the process on error.