mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-06 13:53:54 +02:00
fix(websocket): install crypto provider if needed (#3124)
This commit is contained in:
@@ -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