aboutsummaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authordlhxzb <[email protected]>2022-08-04 18:02:10 +0900
committerdlhxzb <[email protected]>2022-08-04 18:02:10 +0900
commitca2bc99a38794aa401bfa39eece84b7eec3b8b25 (patch)
tree2b851f569e528868a01cd3d6215a0fd3a7871778 /libs
parent848b5aedb7e8bda0f582706c792ffbab2d657a39 (diff)
downloadrustdesk-server-ca2bc99a38794aa401bfa39eece84b7eec3b8b25.tar.gz
rustdesk-server-ca2bc99a38794aa401bfa39eece84b7eec3b8b25.zip
Feat: listen for unix signal
Diffstat (limited to 'libs')
-rw-r--r--libs/hbb_common/build.rs5
-rw-r--r--libs/hbb_common/src/fs.rs1
2 files changed, 1 insertions, 5 deletions
diff --git a/libs/hbb_common/build.rs b/libs/hbb_common/build.rs
index 225ec34..5feda67 100644
--- a/libs/hbb_common/build.rs
+++ b/libs/hbb_common/build.rs
@@ -5,10 +5,7 @@ fn main() {
.out_dir("src/protos")
.inputs(&["protos/rendezvous.proto", "protos/message.proto"])
.include("protos")
- .customize(
- protobuf_codegen::Customize::default()
- .tokio_bytes(true)
- )
+ .customize(protobuf_codegen::Customize::default().tokio_bytes(true))
.run()
.expect("Codegen failed.");
}
diff --git a/libs/hbb_common/src/fs.rs b/libs/hbb_common/src/fs.rs
index 69cd348..a5bc6ad 100644
--- a/libs/hbb_common/src/fs.rs
+++ b/libs/hbb_common/src/fs.rs
@@ -565,4 +565,3 @@ pub fn transform_windows_path(entries: &mut Vec<FileEntry>) {
entry.name = entry.name.replace("\\", "/");
}
}
-