diff --git a/Cargo.toml b/Cargo.toml index ea3e0d4..00e30f2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,15 +46,14 @@ 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" } -whoami = "1.5" [target.'cfg(not(any(target_os = "macos", target_os = "windows")))'.dependencies] tokio-rustls = { version = "0.26", features = [ diff --git a/src/lib.rs b/src/lib.rs index b1770f2..3f24fdf 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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;