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

#431 in Encoding

Download history 39724/week @ 2023-12-11 36305/week @ 2023-12-18 4077/week @ 2023-12-25 21841/week @ 2024-01-01 25403/week @ 2024-01-08 21148/week @ 2024-01-15 29635/week @ 2024-01-22 31327/week @ 2024-01-29 35175/week @ 2024-02-05 37158/week @ 2024-02-12 21199/week @ 2024-02-19 42990/week @ 2024-02-26 29512/week @ 2024-03-04 38231/week @ 2024-03-11 35008/week @ 2024-03-18 41517/week @ 2024-03-25

144,901 downloads per month
Used in 152 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–13MB
~138K SLoC