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
- Error returned when a binary is not available.
Functions§
- include_
path - Include path which contains protobuf bundled
.proto(likedescriptor.proto). - protoc_
bin_ path - Return a path to
protocbinary.