Skip to content

chore(deps): bump reqwest 0.12→0.13 in the Rust SDK#351

Merged
rz1989s merged 1 commit into
mainfrom
chore/reqwest-013
Jun 25, 2026
Merged

chore(deps): bump reqwest 0.12→0.13 in the Rust SDK#351
rz1989s merged 1 commit into
mainfrom
chore/reqwest-013

Conversation

@rz1989s

@rz1989s rz1989s commented Jun 25, 2026

Copy link
Copy Markdown
Member

Adopts reqwest 0.13 in the generated Rust client (/sdks/rust). Dependabot's #322 was version-only, but 0.13 has breaking feature changes that need adaptation:

  • query is now an opt-in crate feature (was implicit in 0.12). The generated client calls .query() (×2), so query is added to the feature list — otherwise it fails to compile.
  • The rustls-tls reqwest feature was renamed to rustls. The SDK's optional rustls-tls feature now maps to reqwest/rustls.

Default feature stays native-tls (still valid in 0.13), so default consumers are unaffected.

Heads-up for rustls-tls consumers: reqwest 0.13's rustls backend now defaults to aws-lc-rs (needs a C toolchain + cmake at build time) instead of ring. Only affects builds that enable rustls-tls.

Verification (local — JS CI doesn't cover /sdks/rust)

  • cargo build (default native-tls) — ok, reqwest 0.13.4
  • cargo build --no-default-features --features rustls-tls — ok (aws-lc-sys built)
  • cargo test — 0 tests (generated SDK has none)

Supersedes #322 (closed as superseded on merge).

reqwest 0.13 isn't a clean version-only bump for the generated client:
- `query` is now an opt-in crate feature; the client uses .query() (x2),
  so it's added to the feature list.
- the `rustls-tls` reqwest feature was renamed to `rustls`; the SDK's
  optional rustls-tls feature now maps to reqwest/rustls.

Default feature stays native-tls (unaffected). Note: reqwest 0.13's
rustls backend now pulls aws-lc-rs (needs a C toolchain + cmake at build
time) instead of ring — only affects consumers that enable rustls-tls.

Verified locally (JS CI does not cover /sdks/rust):
  cargo build (default native-tls)                       -> ok, reqwest 0.13.4
  cargo build --no-default-features --features rustls-tls -> ok
  cargo test                                              -> 0 tests (generated SDK)

Supersedes #322.
@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sipher Ready Ready Preview, Comment Jun 25, 2026 3:45am

@rz1989s rz1989s merged commit e00139f into main Jun 25, 2026
6 checks passed
@rz1989s rz1989s deleted the chore/reqwest-013 branch June 25, 2026 04:44
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