#protoc #protobuf #install #bundled #binary

build protoc-bin-vendored

protoc binaries compiled by Google and bundled in this crate

31 stable releases

3.2.0 Jul 21, 2025
3.1.0 Sep 30, 2024
3.0.0 Feb 7, 2022
3.0.0-alpha.2 Nov 1, 2021
2.16.2 Jul 6, 2020

#67 in Encoding

Download history 38252/week @ 2025-07-18 57576/week @ 2025-07-25 80630/week @ 2025-08-01 86110/week @ 2025-08-08 91702/week @ 2025-08-15 96133/week @ 2025-08-22 83095/week @ 2025-08-29 89801/week @ 2025-09-05 116123/week @ 2025-09-12 130955/week @ 2025-09-19 120498/week @ 2025-09-26 120881/week @ 2025-10-03 119968/week @ 2025-10-10 140240/week @ 2025-10-17 135126/week @ 2025-10-24 113529/week @ 2025-10-31

530,207 downloads per month
Used in 152 crates (60 directly)

MIT license

36MB
442 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()

Dependencies