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

#1641 in Encoding

Download history 5554/week @ 2024-06-17 6511/week @ 2024-06-24 5831/week @ 2024-07-01 6860/week @ 2024-07-08 8011/week @ 2024-07-15 7345/week @ 2024-07-22 8783/week @ 2024-07-29 6981/week @ 2024-08-05 6382/week @ 2024-08-12 6015/week @ 2024-08-19 6398/week @ 2024-08-26 6781/week @ 2024-09-02 6312/week @ 2024-09-09 5856/week @ 2024-09-16 7437/week @ 2024-09-23 6501/week @ 2024-09-30

26,576 downloads per month
Used in 151 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–10MB
~131K SLoC