1 2 3 4 5 6 7 8 9
use protobuf_codegen::CodeGen; fn main() { CodeGen::new() .inputs(["proto_example/foo.proto", "proto_example/bar/bar.proto"]) .include("proto") .generate_and_compile() .unwrap(); }