fix: build

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou 2025-04-30 19:37:25 +08:00
parent bfddd5bb19
commit 8c2381278b

View File

@ -54,6 +54,8 @@ tungstenite = { version = "0.26.2" }
mac_address = "1.1"
default_net = { git = "https://github.com/rustdesk-org/default_net" }
machine-uid = { git = "https://github.com/rustdesk-org/machine-uid" }
whoami = "1.5"
[target.'cfg(not(any(target_os = "macos", target_os = "windows")))'.dependencies]
tokio-rustls = { version = "0.26", features = [
"logging",
@ -64,7 +66,6 @@ rustls-platform-verifier = "0.5"
rustls-pki-types = "1.11"
[target.'cfg(any(target_os = "macos", target_os = "windows"))'.dependencies]
tokio-native-tls = "0.3"
whoami = "1.5.0"
[build-dependencies]
protobuf-codegen = { version = "3.7" }