Merge pull request #148 from fufesou/fix/build_crate

fix: build
This commit is contained in:
RustDesk 2025-04-30 20:55:32 +08:00 committed by GitHub
commit 4eca5b45b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View File

@ -46,14 +46,15 @@ httparse = "1.10"
base64 = "0.22"
url = "2.5"
sha2 = "0.10"
tokio-tungstenite = { version = "0.26.2" }
tungstenite = { version = "0.26.2" }
tokio-tungstenite = { version = "0.26" }
tungstenite = { version = "0.26" }
whoami = "1.5"
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
mac_address = "1.1"
default_net = { git = "https://github.com/rustdesk-org/default_net" }
machine-uid = { git = "https://github.com/rustdesk-org/machine-uid" }
[target.'cfg(not(any(target_os = "macos", target_os = "windows")))'.dependencies]
tokio-rustls = { version = "0.26", features = [
"logging",
@ -64,7 +65,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" }

View File

@ -60,6 +60,7 @@ pub use flexi_logger;
pub mod websocket;
pub mod stream;
pub use stream::Stream;
pub use whoami;
pub type SessionID = uuid::Uuid;