mirror of
https://github.com/rustdesk/hbb_common.git
synced 2026-04-14 11:56:31 +00:00
add mobile fallback platform verifier
Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
@@ -59,10 +59,14 @@ tokio-rustls = { version = "0.26", features = [
|
||||
"tls12",
|
||||
"ring",
|
||||
], default-features = false }
|
||||
rustls-platform-verifier = "0.5"
|
||||
rustls-pki-types = "1.11"
|
||||
tokio-tungstenite = { version = "0.26", features = ["rustls-tls-native-roots", "rustls-tls-webpki-roots"] }
|
||||
tungstenite = { version = "0.26", features = ["rustls-tls-native-roots", "rustls-tls-webpki-roots"] }
|
||||
rustls-native-certs = "0.8"
|
||||
webpki-roots = "1.0"
|
||||
|
||||
[target.'cfg(any(target_os = "android", target_os = "ios"))'.dependencies]
|
||||
rustls-platform-verifier = "0.6"
|
||||
|
||||
[target.'cfg(any(target_os = "macos", target_os = "windows"))'.dependencies]
|
||||
tokio-native-tls = "0.3"
|
||||
|
||||
Reference in New Issue
Block a user