Struct pb_jelly_gen::GenProtos [−][src]
pub struct GenProtos { /* fields omitted */ }
Expand description
A builder struct to configure the way your protos are generated, create one with GenProtos::builder()
Implementations
Set the output path for the generated code. This should be relative to the current crate’s manifest.
Defaults to the <current crate's manifest>/gen
Set the output path for the generate code. This will be treated as an absolute path.
Add a path to a .proto
file, or a directory containing your proto files.
Add a list of paths to .proto
files, or to directories containing your proto files.
A path to a protobuf file, or a directory containing protobuf files, that get included in the proto compilation. Rust bindings will not be generated for these files, but the proto compiler will look at included paths for proto dependencies.
Paths to a protobuf files, or directories containing protobuf files, that get included in the proto compilation. Rust bindings will not be generated for these files, but the proto compiler will look at included paths for proto dependencies.
Include rust/extensions.proto
in the proto compilation.
Defaults to true
If true, before proto compilation, will delete whatever exists at out_path
and create a
directory at that location.
Consumes the builder and generates Rust bindings to your proto files.