11 lines
298 B
Rust
Raw Normal View History

2018-06-20 13:40:01 +02:00
extern crate protobuf_codegen_pure;
fn main() {
protobuf_codegen_pure::run(protobuf_codegen_pure::Args {
out_dir: "src/protobuf_structs",
input: &["src/structs.proto"],
includes: &["src"],
customize: Default::default(),
}).expect("protoc failed to run");
}