protoc 2.28.0

Protobuf protoc command as API
Documentation

API to invoke protoc command programmatically

API to invoke protoc command using API (e. g. from 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.