protoc-grpcio 0.1.0

API for programatically invoking the grpcio (grpc-rs) gRPC compiler"
Documentation

grpcio-compiler-protoc

Build Status

A programmatic API to the grpc-rs compiler.

Example

extern crate grpcio_compiler_protoc;

grpcio_compiler_protoc::compile_grpc_protos(
    &["example/protobuf.proto"],
    &["example"],
    "output"
).expect("failed to compile gRPC definitions");

Credits

Credit to both the TiKV project developers for (grpc-rs) and Stepan Koltsov (@stepancheg, rust-protobuf) for their amazing work bringing Protocol Buffers and gRPC support to Rust.