From 8c2381278bdc0d9ee51ed9ed0a45acc1a93f9aab Mon Sep 17 00:00:00 2001 From: fufesou Date: Wed, 30 Apr 2025 19:37:25 +0800 Subject: [PATCH] fix: build Signed-off-by: fufesou --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 53b5733..ea3e0d4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" }