Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

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

Open
tan-wei opened this issue Feb 13, 2021 · 0 comments
Open

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

tan-wei opened this issue Feb 13, 2021 · 0 comments

Comments

@tan-wei
Copy link

tan-wei commented Feb 13, 2021

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");
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant