compile_protos in tonic_build - Rust (original) (raw)
Function compile_protos
pub fn compile_protos(proto: impl AsRef<Path>) -> Result<()>
Available on crate feature prost
only.
Expand description
Simple .proto
compiling. Use configure instead if you need more options.
The include directory will be the parent folder of the specified path. The package name will be the filename without the extension.