rustdesk/libs/hbb_common/build.rs
2021-03-29 15:59:14 +08:00

10 lines
287 B
Rust

fn main() {
std::fs::create_dir_all("src/protos").unwrap();
protobuf_codegen_pure::Codegen::new()
.out_dir("src/protos")
.inputs(&["protos/rendezvous.proto", "protos/message.proto"])
.include("protos")
.run()
.expect("Codegen failed.");
}