Skip to content

armgit / moli

Public Imported from GitHub
0

Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust

deps(websocket): unify webpki-roots on 1.x

ldm09c49d2140beb
diff --git a/Cargo.lock b/Cargo.lock
index 8c41c2225..649df7810 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2869,7 +2869,7 @@ dependencies = [
"tokio-rustls",
"tokio-tungstenite",
"url",
- "webpki-roots 0.26.11",
+ "webpki-roots",
]
[[package]]
@@ -4709,7 +4709,6 @@ dependencies = [
"tokio",
"tokio-rustls",
"tungstenite",
- "webpki-roots 0.26.11",
]
[[package]]
@@ -5183,15 +5182,6 @@ dependencies = [
"string_cache_codegen",
]
-[[package]]
-name = "webpki-roots"
-version = "0.26.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9"
-dependencies = [
- "webpki-roots 1.0.6",
-]
-
[[package]]
name = "webpki-roots"
version = "1.0.6"
diff --git a/moli-protocol-server/Cargo.toml b/moli-protocol-server/Cargo.toml
index e60a1e04d..5f7da7f2a 100644
--- a/moli-protocol-server/Cargo.toml
+++ b/moli-protocol-server/Cargo.toml
@@ -33,7 +33,7 @@ moli-cookie-cache = { path = "../moli-cookie-cache" }
moli-protocol = { path = "../moli-protocol", features = ["test-support"] }
png = "0.18"
time = "0.3"
-tokio-tungstenite = { version = "0.28.0", features = ["rustls-tls-webpki-roots"] }
+tokio-tungstenite = "0.28.0"
tower = { version = "0.5.2", features = ["util"] }
[lints]
diff --git a/moli-websocket/Cargo.toml b/moli-websocket/Cargo.toml
index 93353d9fe..66f953f07 100644
--- a/moli-websocket/Cargo.toml
+++ b/moli-websocket/Cargo.toml
@@ -15,9 +15,9 @@ rcgen = { version = "0.13", default-features = false, features = ["aws_lc_rs"],
rustls = { version = "0.23", default-features = false, features = ["aws_lc_rs", "logging", "prefer-post-quantum", "std", "tls12"] }
tokio = { version = "1.51.0", features = ["io-util", "macros", "net", "rt-multi-thread", "sync", "time"] }
tokio-rustls = { version = "0.26", default-features = false, features = ["aws_lc_rs", "logging", "tls12"] }
-tokio-tungstenite = { version = "0.28.0", features = ["rustls-tls-webpki-roots"] }
+tokio-tungstenite = { version = "0.28.0", default-features = false, features = ["handshake", "__rustls-tls"] }
url = "2.5.7"
-webpki-roots = "0.26"
+webpki-roots = "1"
[dev-dependencies]
rcgen = { version = "0.13", default-features = false, features = ["aws_lc_rs"] }