23 releases

0.8.3 Mar 28, 2021
0.8.2 Sep 20, 2020
0.8.1 May 25, 2020
0.6.2 Jan 14, 2020
0.1.1 Jan 8, 2017

#1325 in Development tools

Download history 3025/week @ 2024-03-14 2856/week @ 2024-03-21 4061/week @ 2024-03-28 2464/week @ 2024-04-04 1675/week @ 2024-04-11 1762/week @ 2024-04-18 2217/week @ 2024-04-25 2356/week @ 2024-05-02 2552/week @ 2024-05-09 1789/week @ 2024-05-16 1203/week @ 2024-05-23 1886/week @ 2024-05-30 1931/week @ 2024-06-06 2227/week @ 2024-06-13 2096/week @ 2024-06-20 877/week @ 2024-06-27

7,614 downloads per month
Used in 18 crates (via protoc-rust-grpc)

MIT/Apache

21KB
533 lines

grpc compiler

Stub generator for grpc.

Library and protoc-gen-rust-grpc plugin for protoc.

Can be installed with command cargo install grpc-compiler.

Generate .rs files:

protoc --rust-grpc_out=. foo.proto

Generate .rs files (protobuf messages and grpc stubs):

protoc --rust_out=. --rust-grpc_out=. foo.proto

Alternatively, protoc-grpc-rust crate can be used to invoke codegen programmatically, which only requires protoc command in $PATH.

Dependencies

~1.5MB
~35K SLoC