grpc-rust icon indicating copy to clipboard operation
grpc-rust copied to clipboard

Example code in Readme.md may be out of date.

Open tan-wei opened this issue 4 years ago • 0 comments

The code in grpc-rust/protoc-rust-grpc/Readme.md seems out of date:

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
        ..Default::default()
    }).expect("protoc-rust-grpc");
}

tan-wei avatar Feb 13 '21 09:02 tan-wei