#bin #google #protocol-buffers #path #distributed #protoc

build protoc-bin-vendored

protoc binaries compiled by Google and bundled in this crate

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

Download history 1289/week @ 2022-12-02 1456/week @ 2022-12-09 1247/week @ 2022-12-16 1159/week @ 2022-12-23 4652/week @ 2022-12-30 9218/week @ 2023-01-06 9762/week @ 2023-01-13 11771/week @ 2023-01-20 15396/week @ 2023-01-27 11008/week @ 2023-02-03 8098/week @ 2023-02-10 6252/week @ 2023-02-17 6324/week @ 2023-02-24 5961/week @ 2023-03-03 6477/week @ 2023-03-10 5659/week @ 2023-03-17

25,476 downloads per month
Used in 27 crates (9 directly)

MIT license

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()
# ;

Dependencies