mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2024-12-18 13:37:47 +08:00
12 lines
374 B
Rust
12 lines
374 B
Rust
fn main() {
|
|
std::fs::create_dir_all("src/protos").unwrap();
|
|
protobuf_codegen::Codegen::new()
|
|
.pure()
|
|
.out_dir("src/protos")
|
|
.inputs(["protos/rendezvous.proto", "protos/message.proto"])
|
|
.include("protos")
|
|
.customize(protobuf_codegen::Customize::default().tokio_bytes(true))
|
|
.run()
|
|
.expect("Codegen failed.");
|
|
}
|