This commit is contained in:
2024-08-05 23:36:43 +02:00
parent 0ff40c8953
commit 37055083c5
2 changed files with 19 additions and 1 deletions

18
Cargo.lock generated
View File

@@ -1324,6 +1324,19 @@ dependencies = [
"zeroize",
]
[[package]]
name = "rustls-native-certs"
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a88d6d420651b496bdd98684116959239430022a115c1240e6c3993be0b15fba"
dependencies = [
"openssl-probe",
"rustls-pemfile 2.1.3",
"rustls-pki-types",
"schannel",
"security-framework",
]
[[package]]
name = "rustls-pemfile"
version = "1.0.4"
@@ -1845,7 +1858,10 @@ dependencies = [
"futures-util",
"log",
"rustls 0.23.12",
"rustls-native-certs",
"rustls-pki-types",
"tokio",
"tokio-rustls 0.26.0",
"tungstenite 0.23.0",
]
@@ -1967,6 +1983,8 @@ dependencies = [
"httparse",
"log",
"rand",
"rustls 0.23.12",
"rustls-pki-types",
"sha1",
"thiserror",
"utf-8",

View File

@@ -16,4 +16,4 @@ serde = "1.0.204"
serde_json = "1.0.122"
anyhow = "1.0.86"
async-trait = "0.1.81"
tokio-tungstenite = { version = "0.23.1", features = ["rustls"] }
tokio-tungstenite = { version = "0.23.1", features = ["rustls-tls-native-roots"] }