Build protobufs for compact formats

This commit is contained in:
Jack Grigg
2018-10-12 18:22:58 +01:00
parent a57dc7f478
commit af7e263bcc
7 changed files with 95 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
use protobuf_codegen_pure;
fn main() {
protobuf_codegen_pure::run(protobuf_codegen_pure::Args {
out_dir: "src/proto",
input: &["proto/compact_formats.proto"],
includes: &["proto"],
customize: Default::default(),
})
.expect("protoc");
}