Crate protoc_bin_vendored
source · [−]Expand description
protoc
binary downloaded and stored inside the crate.
Can be used to avoid downloading and installing protoc
binary.
Example
protoc_bin_vendored::protoc_bin_path().unwrap()
returns a path to a protoc
binary packaged into the crate.
Crate also packs .proto
files distributed with protobuf:
protoc_bin_vendored::include_path().unwrap()
Structs
Error returned when a binary is not available.
Functions
Include path which contains protobuf bundled .proto
(like descriptor.proto
).
Return a path to protoc
binary.