#grpc #compiler #path #protoc

bin+lib grpc-compiler

gRPC compiler for rust-grpc

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
Download history 1415/week @ 2022-12-02 1641/week @ 2022-12-09 3245/week @ 2022-12-16 1958/week @ 2022-12-23 3927/week @ 2022-12-30 2581/week @ 2023-01-06 3099/week @ 2023-01-13 2272/week @ 2023-01-20 3954/week @ 2023-01-27 2802/week @ 2023-02-03 2204/week @ 2023-02-10 4610/week @ 2023-02-17 3246/week @ 2023-02-24 5695/week @ 2023-03-03 8434/week @ 2023-03-10 6425/week @ 2023-03-17

24,766 downloads per month
Used in protoc-rust-grpc

MIT/Apache

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