mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2024-12-23 10:47:47 +08:00
10 lines
287 B
Rust
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.");
|
||
|
}
|