mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-01 01:29:02 +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.");
|
|
}
|