mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-30 21:59:36 +02:00
fix(websocket): install crypto provider if needed (#3124)
This commit is contained in:
1 parent
fa601e8754
commit
66a75ece27
4 files changed
+59
-9
No files matched your search
@@ -31,10 +31,16 @@ rand = "0.9"
|
||||
futures-util = "0.3"
|
||||
tokio = { version = "1", features = ["net", "sync"] }
|
||||
tokio-tungstenite = { version = "0.28" }
|
||||
rustls = { version = "0.23", default-features = false, features = [
|
||||
"ring",
|
||||
], optional = true }
|
||||
|
||||
[features]
|
||||
default = ["rustls-tls"]
|
||||
native-tls = ["tokio-tungstenite/native-tls"]
|
||||
native-tls-vendored = ["native-tls", "tokio-tungstenite/native-tls-vendored"]
|
||||
rustls-tls = ["tokio-tungstenite/rustls-tls-webpki-roots"]
|
||||
rustls-tls-native-roots = ["tokio-tungstenite/rustls-tls-native-roots"]
|
||||
rustls-tls = ["tokio-tungstenite/rustls-tls-webpki-roots", "dep:rustls"]
|
||||
rustls-tls-native-roots = [
|
||||
"tokio-tungstenite/rustls-tls-native-roots",
|
||||
"dep:rustls",
|
||||
]
|
||||
Reference in new issue
Block a user