commit 6c5582757e7cff54b552c0428400be64ba5e7b17
parent 3699e6c88b41ff9cb6aa660290b1581f38265058
Author: William Casarin <jb55@jb55.com>
Date: Sat, 24 Jan 2026 09:00:25 -0800
deps: add webpki-roots feature to hyper-rustls
The http_req fallback in network.rs calls with_webpki_roots() when
native roots fail to load, but this method requires the webpki-roots
feature to be enabled.
Diffstat:
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
@@ -651,7 +651,7 @@ dependencies = [
"bitflags 2.9.1",
"cexpr",
"clang-sys",
- "itertools 0.12.1",
+ "itertools 0.10.5",
"lazy_static",
"lazycell",
"log",
@@ -674,7 +674,7 @@ dependencies = [
"bitflags 2.9.1",
"cexpr",
"clang-sys",
- "itertools 0.12.1",
+ "itertools 0.10.5",
"log",
"prettyplease",
"proc-macro2",
@@ -3315,7 +3315,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07033963ba89ebaf1584d767badaa2e8fcec21aedea6b8c0346d487d49c28667"
dependencies = [
"cfg-if",
- "windows-targets 0.53.2",
+ "windows-targets 0.48.5",
]
[[package]]
@@ -6710,7 +6710,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "319c70195101a93f56db4c74733e272d720768e13471f400c78406a326b172b0"
dependencies = [
"cc",
- "windows-targets 0.52.6",
+ "windows-targets 0.48.5",
]
[[package]]
@@ -7492,7 +7492,7 @@ version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
dependencies = [
- "windows-sys 0.59.0",
+ "windows-sys 0.48.0",
]
[[package]]
diff --git a/crates/notedeck/Cargo.toml b/crates/notedeck/Cargo.toml
@@ -81,9 +81,9 @@ ring = { workspace = true }
# Override rustls to use ring crypto provider on Windows
rustls = { version = "0.23.28", default-features = false, features = ["std", "tls12", "logging", "ring"] }
# Override hyper-rustls to use ring on Windows
-hyper-rustls = { version = "0.27.7", default-features = false, features = ["http1", "tls12", "logging", "native-tokio", "ring"] }
+hyper-rustls = { version = "0.27.7", default-features = false, features = ["http1", "tls12", "logging", "native-tokio", "ring", "webpki-roots"] }
# Use aws-lc-rs on non-Windows platforms for better performance
[target.'cfg(not(windows))'.dependencies]
rustls = { version = "0.23.28", default-features = false, features = ["std", "tls12", "logging", "aws_lc_rs"] }
-hyper-rustls = { version = "0.27.7", default-features = false, features = ["http1", "tls12", "logging", "native-tokio", "aws-lc-rs"] }
+hyper-rustls = { version = "0.27.7", default-features = false, features = ["http1", "tls12", "logging", "native-tokio", "aws-lc-rs", "webpki-roots"] }