Function tonic_build::compile_protos
source · pub fn compile_protos(proto: impl AsRef<Path>) -> Result<()>
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.