Use native tls for client (#779)

* client: use native tls and disable default features for reqwest

* build: bring back reqwest default features except tls

* client: remove tls selection
This commit is contained in:
ardocrat
2026-08-09 19:49:29 +02:00
committed by wiesche
parent a3fb40caac
commit 982bc27f76
3 changed files with 31 additions and 243 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ ring = "0.17.14"
chrono = { version = "0.4.11", features = ["serde"] }
lazy_static = "1"
tokio = { version = "1.52.3", features = ["full"] }
reqwest = { version = "0.13.3", features = ["socks"] }
reqwest = { version = "0.13.4", default-features = false, features = ["socks", "native-tls", "system-proxy", "charset", "http2"] }
#Socks/Tor/Bridge/Proxy
ed25519-dalek = "2"
-1
View File
@@ -72,7 +72,6 @@ impl Client {
let mut builder = ClientBuilder::new()
.timeout(request_timeout)
.use_rustls_tls()
.default_headers(headers);
if let Some(p) = proxy {