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.