1 2 3 4 5 6 7 8
fn main() { protoc_rust::Codegen::new() .out_dir("src/") .inputs(&["protobufs/pb.proto"]) .includes(&["protobufs"]) .run() .expect("protoc"); }