B: B1 real reqwest peer client with caps, timeouts and ring TLS

This commit is contained in:
ari committed 2026-10-19 20:55:25 -04:00
1 parent 58b41fa001
commit bd5b21bcc4
6 files changed
+1117

No files matched your search

+4
View File
@@ -28,6 +28,10 @@ libc = "0.2"
axum = "0.8.9"
tower = "0.5.3"
tower-http = { version = "0.7.1", features = ["trace"] }
# Peer client: rustls via `rustls-no-provider`, ring passed per config.
# default-features is off so native-tls (openssl) stays out.
reqwest = { version = "0.13.5", default-features = false, features = ["rustls-no-provider"] }
webpki-roots = "1.0.9"
# Native TLS (DEC-12): rustls with the ring provider passed explicitly, no openssl
rustls = { version = "0.23.45", default-features = false, features = ["ring", "std", "tls12"] }