diff options
author | RustDesk <[email protected]> | 2023-01-06 11:11:19 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2023-01-06 11:11:19 +0800 |
commit | d7b2060a5b179a0c9f4c905f39c7497faab0fa9b (patch) | |
tree | 832d049cd2daa875797e7d8622f8c4f07d5d5613 /libs | |
parent | 93a89b8ea30416f5190ef94a79a8a27f202d5f36 (diff) | |
parent | 75a40412b4755ed89b28f6c30e5f53d05ac6100c (diff) | |
download | rustdesk-server-d7b2060a5b179a0c9f4c905f39c7497faab0fa9b.tar.gz rustdesk-server-d7b2060a5b179a0c9f4c905f39c7497faab0fa9b.zip |
Merge pull request #86 from dlhxzb/listern-for-unix-signal
Feat: listen for unix signal
Diffstat (limited to 'libs')
-rw-r--r-- | libs/hbb_common/build.rs | 5 | ||||
-rw-r--r-- | libs/hbb_common/src/fs.rs | 2 |
2 files changed, 2 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 fec8b86..570fad8 100644 --- a/libs/hbb_common/src/fs.rs +++ b/libs/hbb_common/src/fs.rs @@ -847,4 +847,4 @@ pub fn is_write_need_confirmation( } else { Ok(DigestCheckResult::NoSuchFile) } -} +}
\ No newline at end of file |