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

#5 in #protobuf-compiler

Download history 1221/week @ 2024-12-04 1380/week @ 2024-12-11 584/week @ 2024-12-18 394/week @ 2024-12-25 492/week @ 2025-01-01 793/week @ 2025-01-08 633/week @ 2025-01-15 589/week @ 2025-01-22 773/week @ 2025-01-29 753/week @ 2025-02-05 719/week @ 2025-02-12 843/week @ 2025-02-19 830/week @ 2025-02-26 992/week @ 2025-03-05 1142/week @ 2025-03-12 474/week @ 2025-03-19

3,529 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
~32K SLoC