[][src]Function tonic_build::compile_protos

pub fn compile_protos(proto_path: impl AsRef<Path>) -> Result<()>

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.