protoc
API to invoke protoc command using API (e. g. from build.rs).
build.rs
Note that to generate rust code from .proto, protoc-rust crate can be used, which does not require protoc-gen-rust present in $PATH.
rust
.proto
protoc-gen-rust
$PATH