mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-13 19:19:09 +08:00
87f50a6318
Signed-off-by: fufesou <shuanglongchen@yeah.net>
10 lines
340 B
Rust
10 lines
340 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/base_proto.proto", "protos/message.proto", "protos/discovery.proto"])
|
|
.include("protos")
|
|
.run()
|
|
.expect("Codegen failed.");
|
|
}
|