81 stable releases

3.0.0-alpha.5 Feb 2, 2022
3.0.0-alpha.2 Nov 1, 2021
2.28.0 Sep 26, 2022
2.27.1 Feb 5, 2022
1.4.1 Jun 24, 2017

#785 in Encoding

Download history 7480/week @ 2024-07-23 8455/week @ 2024-07-30 7266/week @ 2024-08-06 6012/week @ 2024-08-13 6052/week @ 2024-08-20 6282/week @ 2024-08-27 7042/week @ 2024-09-03 6273/week @ 2024-09-10 6147/week @ 2024-09-17 7491/week @ 2024-09-24 6382/week @ 2024-10-01 6360/week @ 2024-10-08 6481/week @ 2024-10-15 6029/week @ 2024-10-22 5625/week @ 2024-10-29 6162/week @ 2024-11-05

25,494 downloads per month
Used in 150 crates (9 directly)

MIT license

16KB
310 lines

Protoc command launcher

API to invoke protoc command from API (e. g. from build.rs), any

Note, protoc command must be in $PATH along with protoc-gen-LANG command.

Example of using protoc crate is in perftest's build.rs.

Note that to generate rust code from .proto, protoc-rust crate can be used, which does not require protoc-gen-rust present in $PATH.


lib.rs:

API to invoke protoc command.

protoc command must be in $PATH, along with protoc-gen-LANG command.

Note that to generate rust code from .proto files, protoc-rust crate can be used, which does not require protoc-gen-rust present in $PATH.

Dependencies

~2–11MB
~132K SLoC