protoc-rust-grpc 0.8.3

protoc --rust-grpc_out=... available as API. protoc needs to be in $PATH, protoc-gen-rust-grpc does not.
# API to generate .rs files

API to generate .rs files to be used e. g.
[from ``](

Example code:

fn main() {
    protoc_rust_grpc::run(protoc_rust_grpc::Args {
        out_dir: "src",
        includes: &["proto"],
        input: &["proto/aaa.proto", "proto/bbb.proto"],
        rust_protobuf: true, // also generate protobuf messages, not just services

Note this API requires protoc command present in `$PATH`.
Although `protoc-gen-rust-grpc` command is not needed.