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§
- Args
Deprecated Protoc --lang_out...args- Descriptor
SetOut Args Protoc --descriptor_set_out...args- Protoc
- Protoc command.
- Protoc
Lang Out protoc --lang_out=... ...command builder and spawner.- Version
- Protobuf (protoc) version.
Functions§
- run
Deprecated - Deprecated version of
ProtocLangOut.