Expand description

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.

Structs

ArgsDeprecated
Protoc --lang_out... args
Protoc --descriptor_set_out... args
Protoc command.
protoc --lang_out=... ... command builder and spawner.
Protobuf (protoc) version.

Functions

runDeprecated
Deprecated version of ProtocLangOut.

Type Definitions

Alias for io::Error
Alias for io::Error