Skip to content

Bump reqwest to 0.13 + update features#5

Merged
pimfeltkamp merged 1 commit intomainfrom
fix/reqwest-0.13
Apr 24, 2026
Merged

Bump reqwest to 0.13 + update features#5
pimfeltkamp merged 1 commit intomainfrom
fix/reqwest-0.13

Conversation

@pimfeltkamp
Copy link
Copy Markdown
Contributor

Summary

Supersedes Dependabot PR #4 — same reqwest bump (0.12 → 0.13) plus the feature-set adjustments needed to build against 0.13.

Why #4 failed

reqwest 0.13 made two breaking changes that affected us:

  1. Removed the rustls-tls feature alias. 0.13 requires opting in to rustls (the TLS implementation) and a certificate source (webpki-roots for Mozilla's bundled roots or rustls-native-certs for the OS store) as separate features.
  2. Gated RequestBuilder::query() behind a new query feature.

Fix

reqwest = { version = "0.13", default-features = false, features = ["rustls", "webpki-roots", "json", "http2", "query"] }

webpki-roots keeps us portable (no dependency on the OS certificate store), matching the behaviour of the old rustls-tls alias.

Closes #4.

Test plan

  • cargo check --all-targets — clean
  • cargo clippy --all-targets -- -D warnings — clean
  • cargo test — 25 resource tests + 2 doctests passing
  • CI green (Linux/cgo/race)

reqwest 0.13 renamed the 'rustls-tls' feature (rustls + webpki-roots
bundled) to require opting in to 'rustls' and a certificate source
separately, and gated '.query()' behind a 'query' feature.

New feature set: rustls + webpki-roots + json + http2 + query.

Closes the failing Dependabot PR #4.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@pimfeltkamp pimfeltkamp merged commit d9d9c18 into main Apr 24, 2026
1 check passed
@pimfeltkamp pimfeltkamp deleted the fix/reqwest-0.13 branch April 24, 2026 19:38
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.

1 participant