29 stable releases
3.0.0 | Feb 7, 2022 |
---|---|
3.0.0-alpha.2 | Nov 1, 2021 |
2.27.3 | Feb 6, 2022 |
2.25.2 | Oct 24, 2021 |
2.16.2 | Jul 6, 2020 |
#214 in Encoding
25,476 downloads per month
Used in 27 crates
(9 directly)
11MB
367 lines
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()
lib.rs
:
protoc
binary downloaded and stored inside the crate.
Can be used to avoid downloading and installing protoc
binary.
Example
# let _ =
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:
# let _ =
protoc_bin_vendored::include_path().unwrap()
# ;