Skip to content

chore(deps): use rustls for Reqwest - #11

Merged
jsvana merged 1 commit into
jsvana:mainfrom
rwjblue:rwjblue/deps-use-rustls-for-reqwest
Nov 17, 2026
Merged

jsvana merged 1 commit into
jsvana:mainfrom
rwjblue:rwjblue/deps-use-rustls-for-reqwest

Conversation

@rwjblue

@rwjblue rwjblue commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

BLUF: Switch Reqwest 0.12 to rustls with system CA roots.

Linux release builds currently embed a copy of OpenSSL that the OS cannot update. The rustls backend removes that linkage while using the platform's CA roots. The enabled features retain cookies, JSON, HTTP/2, charset handling, and system proxy discovery. The lockfile refreshes the newly active rustls and WebPKI crates.

cargo +1.88.0 test --locked --all-features
cargo tree --locked --target x86_64-unknown-linux-gnu | grep -E 'rustls|openssl'

The Linux graph still lists openssl-probe, which locates CA bundles. This change and #10 both update Cargo.lock. Once one lands, regenerate the remaining lockfile diff from main.

Use rustls with the system CA roots so Linux release binaries no
longer embed OpenSSL. Preserve the HTTP and proxy features and
update the newly active TLS dependencies to patched versions.
jsvana added a commit that referenced this pull request Nov 17, 2026
chore(deps): use rustls for Reqwest

Cargo.lock regenerated on top of the refreshed lockfile from #10.

Co-Authored-By: Claude <noreply@anthropic.com>
@jsvana
jsvana merged commit d84d849 into jsvana:main Nov 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants