1 2 3 4 5 6 7 8 9 10 11 12
extern crate protoc_rust_grpc; fn main() { protoc_rust_grpc::run(protoc_rust_grpc::Args { out_dir: "src", includes: &["proto"], input: &["proto/termcast.proto"], rust_protobuf: true, ..Default::default() }) .expect("protoc_rust_grpc"); }