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

#730 in Network programming

Download history 24188/week @ 2022-10-19 22256/week @ 2022-10-26 23981/week @ 2022-11-02 24188/week @ 2022-11-09 21133/week @ 2022-11-16 21614/week @ 2022-11-23 23394/week @ 2022-11-30 22289/week @ 2022-12-07 17500/week @ 2022-12-14 9434/week @ 2022-12-21 7938/week @ 2022-12-28 21714/week @ 2023-01-04 19487/week @ 2023-01-11 19670/week @ 2023-01-18 22455/week @ 2023-01-25 25513/week @ 2023-02-01

92,025 downloads per month
Used in 146 crates (9 directly)

MIT license

15KB
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

~200KB