diff options
Diffstat (limited to 'build.rs')
-rw-r--r-- | build.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/build.rs b/build.rs new file mode 100644 index 0000000..5eae926 --- /dev/null +++ b/build.rs @@ -0,0 +1,10 @@ +fn main() { + protobuf_codegen_pure::run(protobuf_codegen_pure::Args { + out_dir: "src/protos", + input: &["protos/message.proto"], + includes: &["protos"], + customize: protobuf_codegen_pure::Customize { + ..Default::default() + }, + }).unwrap(); +} |