Skip to content

Commit 5e842f6

Browse files
committed
download: Use rustls_platform_verifier
This isn't yet officially supported by reqwest, hopefully soon. Until then, we can manually configure it to work with it.
1 parent c43a23a commit 5e842f6

3 files changed

Lines changed: 211 additions & 7 deletions

File tree

Cargo.lock

Lines changed: 197 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ env_logger = "0.11.8"
2222
flate2 = "1.1.5"
2323
log = "0.4.28"
2424
reqwest = { version = "0.12.24", default-features = false, features = ["http2", "charset", "system-proxy", "blocking", "rustls-tls-native-roots"] }
25+
rustls = { version = "0.23.35", default-features = false, features = ["std", "tls12", "ring", "logging"] }
26+
rustls-platform-verifier = "0.6.2"
2527
serde = { version = "1.0.228", features = ["derive"] }
2628
serde_json = "1.0.145"
2729
serde_yaml_ng = "0.10.0"

0 commit comments

Comments
 (0)