fix(net): load configured CA roots without default cost

This commit is contained in:
SGavrl committed 2026-07-30 21:57:18 +00:00
1 parent 0522831dcc
commit f46f741e8c
4 files changed
+81 -82

No files matched your search

+1 -5
View File
@@ -36,11 +36,7 @@ tokio-tungstenite = "0.26"
# (obscura-net/src/cookies.rs) and never uses reqwest's cookie store. Pulling
# it in only added the cookie/cookie_store crates, and cookie 0.18.1's blanket
# From impl fails to compile under coherence on some toolchains (issue #295).
# "rustls-tls-native-roots" adds the platform trust store (and SSL_CERT_FILE /
# SSL_CERT_DIR) on top of the bundled webpki roots, so deployments behind a
# corporate CA or an inspecting egress proxy can trust their own roots. The
# two root sets merge, so the default trust surface only grows.
reqwest = { version = "0.12", features = ["gzip", "brotli", "deflate", "rustls-tls", "rustls-tls-native-roots", "socks"], default-features = false }
reqwest = { version = "0.12", features = ["gzip", "brotli", "deflate", "rustls-tls", "socks"], default-features = false }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
url = "2"