From 6a13447e9ae667e9305b8e5f0a4027555a282bd2 Mon Sep 17 00:00:00 2001 From: Matthias Endler Date: Thu, 29 Jan 2026 11:21:00 +0100 Subject: [PATCH] Try to fix rustls setup after recent reqwest change --- lychee-lib/Cargo.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lychee-lib/Cargo.toml b/lychee-lib/Cargo.toml index 7118f098cc..16be5cc6c5 100644 --- a/lychee-lib/Cargo.toml +++ b/lychee-lib/Cargo.toml @@ -40,13 +40,15 @@ path-clean = "1.0.1" percent-encoding = "2.3.1" pulldown-cmark = "0.13.0" regex = "1.12.2" -# Use trust-dns to avoid lookup failures on high concurrency -# https://github.com/seanmonstar/reqwest/issues/296 +# Disable default features to avoid rustls being enabled by default reqwest = { version = "0.13.1", default-features = false, features = [ "gzip", "hickory-dns", "cookies", "json", + "charset", + "http2", + "system-proxy", ] } reqwest_cookie_store = { version = "0.10.0", features = ["serde"] } # Make build work on Apple Silicon.