1 2 3 4 5 6 7 8 9 10 11 12 13
fn main() { use protoc_rust::Customize; protoc_rust::run(protoc_rust::Args { out_dir: "src/", input: &["protobufs/pb.proto"], includes: &["protobufs"], customize: Customize { ..Default::default() }, }).expect("protoc"); }