mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-04-20 23:30:45 +00:00
[enhance] websocket
This commit is contained in:
@@ -44,6 +44,13 @@ httparse = "1.5"
|
||||
base64 = "0.22"
|
||||
url = "2.2"
|
||||
sha2 = "0.10"
|
||||
tokio-tungstenite = {version = "0.26.2", optional = true}
|
||||
tungstenite = {version = "0.26.2", optional = true}
|
||||
|
||||
[features]
|
||||
default = ["websocket"]
|
||||
websocket = ["dep:tokio-tungstenite", "dep:tungstenite"]
|
||||
|
||||
|
||||
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
|
||||
mac_address = "1.1"
|
||||
@@ -64,4 +71,3 @@ winapi = { version = "0.3", features = ["winuser", "synchapi", "pdh", "memoryapi
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
osascript = "0.3"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user