grpc-compiler

Crates.iogrpc-compiler
lib.rsgrpc-compiler
version0.8.3
sourcesrc
created_at2017-01-08 23:21:48.526697
updated_at2021-03-28 23:09:02.003598
descriptiongRPC compiler for rust-grpc
homepage
repository
max_upload_size
id7994
size20,852
Doug Fawley (dfawley)

documentation

README

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.

Commit count: 0

cargo fmt