diff options
author | open-trade <[email protected]> | 2020-03-06 17:18:22 +0800 |
---|---|---|
committer | open-trade <[email protected]> | 2020-03-06 17:18:22 +0800 |
commit | 1695b5e3574b578aae0d75189e4395c631ca3b8a (patch) | |
tree | 95023624e8963efb1ab41b5baee91161e6baaf7a /build.rs | |
parent | d188a5f5ea0b6498eecd6a9c8239cb2d55341f81 (diff) | |
download | rustdesk-server-1695b5e3574b578aae0d75189e4395c631ca3b8a.tar.gz rustdesk-server-1695b5e3574b578aae0d75189e4395c631ca3b8a.zip |
prototype...
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(); +} |