sync with rustdesk

This commit is contained in:
rustdesk
2023-02-08 15:45:51 +08:00
parent 6a83ffea62
commit 33f54ba5aa
4 changed files with 183 additions and 21 deletions

View File

@@ -2,7 +2,7 @@ fn main() {
let out_dir = format!("{}/protos", std::env::var("OUT_DIR").unwrap());
std::fs::create_dir_all(&out_dir).unwrap();
protobuf_codegen::Codegen::new()
.pure()
.out_dir(out_dir)