Skip to content

fix(deps): update rust crate reqwest to 0.13.2#346

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/reqwest-0.x
Open

fix(deps): update rust crate reqwest to 0.13.2#346
renovate[bot] wants to merge 1 commit intomainfrom
renovate/reqwest-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jan 1, 2026

This PR contains the following updates:

Package Type Update Change
reqwest dependencies minor 0.12.280.13.2

Release Notes

seanmonstar/reqwest (reqwest)

v0.13.2

Compare Source

  • Fix HTTP/2 and native-tls ALPN feature combinations.
  • Fix HTTP/3 to send h3 ALPN.
  • (wasm) fix RequestBuilder::json() from override previously set content-type.

v0.13.1

Compare Source

  • Fixes compiling with rustls on Android targets.

v0.13.0

Compare Source

  • Breaking changes:
    • rustls is now the default TLS backend, instead of native-tls.
    • rustls crypto provider defaults to aws-lc instead of ring. (rustls-no-provider exists if you want a different crypto provider)
    • rustls-tls has been renamed to rustls.
    • rustls roots features removed, rustls-platform-verifier is used by default.
      • To use different roots, call tls_certs_only(your_roots).
    • native-tls now includes ALPN. To disable, use native-tls-no-alpn.
    • query and form are now crate features, disabled by default.
    • Long-deprecated methods and crate features have been removed (such as trust-dns, which was renamed hickory-dns a while ago).
  • Many TLS-related methods renamed to improve autocompletion and discovery, but previous name left in place with a "soft" deprecation. (just documented, no warnings)
    • For example, prefer tls_backend_rustls() over use_rustls_tls().

v0.12.28

  • Fix compiling on Windows if TLS and SOCKS features are not enabled.

v0.12.27

  • Add ClientBuilder::windows_named_pipe(name) option that will force all requests over that Windows Named Piper.

v0.12.26

  • Fix sending Accept-Encoding header only with values configured with reqwest, regardless of underlying tower-http config.

v0.12.25

  • Add Error::is_upgrade() to determine if the error was from an HTTP upgrade.
  • Fix sending Proxy-Authorization if only username is configured.
  • Fix sending Proxy-Authorization to HTTPS proxies when the target is HTTP.
  • Refactor internal decompression handling to use tower-http.

v0.12.24

  • Refactor cookie handling to an internal middleware.
  • Refactor internal random generator.
  • Refactor base64 encoding to reduce a copy.
  • Documentation updates.

v0.12.23

  • Add ClientBuilder::unix_socket(path) option that will force all requests over that Unix Domain Socket.
  • Add ClientBuilder::retry(policy) and reqwest::retry::Builder to configure automatic retries.
  • Add ClientBuilder::dns_resolver2() with more ergonomic argument bounds, allowing more resolver implementations.
  • Add http3_* options to blocking::ClientBuilder.
  • Fix default TCP timeout values to enabled and faster.
  • Fix SOCKS proxies to default to port 1080
  • (wasm) Add cache methods to RequestBuilder.

v0.12.22

  • Fix socks proxies when resolving IPv6 destinations.

v0.12.21

  • Fix socks proxy to use socks4a:// instead of socks4h://.
  • Fix Error::is_timeout() to check for hyper and IO timeouts too.
  • Fix request Error to again include URLs when possible.
  • Fix socks connect error to include more context.
  • (wasm) implement Default for Body.

v0.12.20

  • Add ClientBuilder::tcp_user_timeout(Duration) option to set TCP_USER_TIMEOUT.
  • Fix proxy headers only using the first matched proxy.
  • (wasm) Fix re-adding Error::is_status().

v0.12.19

  • Fix redirect that changes the method to GET should remove payload headers.
  • Fix redirect to only check the next scheme if the policy action is to follow.
  • (wasm) Fix compilation error if cookies feature is enabled (by the way, it's a noop feature in wasm).

v0.12.18

  • Fix compilation when socks enabled without TLS.

v0.12.17

  • Fix compilation on macOS.

v0.12.16

  • Add ClientBuilder::http3_congestion_bbr() to enable BBR congestion control.
  • Add ClientBuilder::http3_send_grease() to configure whether to send use QUIC grease.
  • Add ClientBuilder::http3_max_field_section_size() to configure the maximum response headers.
  • Add ClientBuilder::tcp_keepalive_interval() to configure TCP probe interval.
  • Add ClientBuilder::tcp_keepalive_retries() to configure TCP probe count.
  • Add Proxy::headers() to add extra headers that should be sent to a proxy.
  • Fix redirect::Policy::limit() which had an off-by-1 error, allowing 1 more redirect than specified.
  • Fix HTTP/3 to support streaming request bodies.
  • (wasm) Fix null bodies when calling Response::bytes_stream().

v0.12.15

  • Fix Windows to support both ProxyOverride and NO_PROXY.
  • Fix http3 to support streaming response bodies.
  • Fix http3 dependency from public API misuse.

v0.12.14

  • Fix missing fetch_mode_no_cors(), marking as deprecated when not on WASM.

v0.12.13

  • Add Form::into_reader() for blocking multipart forms.
  • Add Form::into_stream() for async multipart forms.
  • Add support for SOCKS4a proxies.
  • Fix decoding responses with multiple zstd frames.
  • Fix RequestBuilder::form() from overwriting a previously set Content-Type header, like the other builder methods.
  • Fix cloning of request timeout in blocking::Request.
  • Fix http3 synchronization of connection creation, reducing unneccesary extra connections.
  • Fix Windows system proxy to use ProxyOverride as a NO_PROXY value.
  • Fix blocking read to correctly reserve and zero read buffer.
  • (wasm) Add support for request timeouts.
  • (wasm) Fix Error::is_timeout() to return true when from a request timeout.

v0.12.12

  • (wasm) Fix compilation by not compiler tokio/time on WASM.

v0.12.11

  • Fix decompression returning an error when HTTP/2 ends with an empty data frame.

v0.12.10

  • Add ClientBuilder::connector_layer() to allow customizing the connector stack.
  • Add ClientBuilder::http2_max_header_list_size() option.
  • Fix propagating body size hint (content-length) information when wrapping bodies.
  • Fix decompression of chunked bodies so the connections can be reused more often.

v0.12.9

  • Add tls::CertificateRevocationLists support.
  • Add crate features to enable webpki roots without selecting a rustls provider.
  • Fix connection_verbose() to output read logs.
  • Fix multipart::Part::file() to automatically include content-length.
  • Fix proxy to internally no longer cache system proxy settings.

v0.12.8

  • Add support for SOCKS4 proxies.
  • Add multipart::Form::file() method for adding files easily.
  • Add Body::wrap() to wrap any http_body::Body type.
  • Fix the pool configuration to use a timer to remove expired connections.

v0.12.7

  • Revert adding impl Service<http::Request<_>> for Client.

v0.12.6

  • Add support for danger_accept_invalid_hostnames for rustls.
  • Add impl Service<http::Request<Body>> for Client and &'_ Client.
  • Add support for !Sync bodies in Body::wrap_stream().
  • Enable happy eyeballs when hickory-dns is used.
  • Fix Proxy so that HTTP(S)_PROXY values take precedence over ALL_PROXY.
  • Fix blocking::RequestBuilder::header() from unsetting sensitive on passed header values.

v0.12.5

  • Add blocking::ClientBuilder::dns_resolver() method to change DNS resolver in blocking client.
  • Add http3 feature back, still requiring reqwest_unstable.
  • Add rustls-tls-no-provider Cargo feature to use rustls without a crypto provider.
  • Fix Accept-Encoding header combinations.
  • Fix http3 resolving IPv6 addresses.
  • Internal: upgrade to rustls 0.23.

v0.12.4

  • Add zstd support, enabled with zstd Cargo feature.
  • Add ClientBuilder::read_timeout(Duration), which applies the duration for each read operation. The timeout resets after a successful read.

v0.12.3

  • Add FromStr for dns::Name.
  • Add ClientBuilder::built_in_webpki_certs(bool) to enable them separately.
  • Add ClientBuilder::built_in_native_certs(bool) to enable them separately.
  • Fix sending content-length: 0 for GET requests.
  • Fix response body content_length() to return value when timeout is configured.
  • Fix ClientBuilder::resolve() to use lowercase domain names.

v0.12.2

  • Fix missing ALPN when connecting to socks5 proxy with rustls.
  • Fix TLS version limits with rustls.
  • Fix not detected ALPN h2 from server with native-tls.

v0.12.1

  • Fix ClientBuilder::interface() when no TLS is enabled.
  • Fix TlsInfo::peer_certificate() being truncated with rustls.
  • Fix panic if http2 feature disabled but TLS negotiated h2 in ALPN.
  • Fix Display for Error to not include its source error.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Summary by CodeRabbit

  • Chores
    • Updated HTTP client library dependency to improve system stability.

@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Jan 1, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --workspace
    Updating crates.io index
    Updating git repository `https://github.com/SergioBenitez/Rocket`
From https://github.com/SergioBenitez/Rocket
 * [new ref]           3a54d079aef060a8f732bd04ea54b0581a604087 -> refs/commit/3a54d079aef060a8f732bd04ea54b0581a604087
    Updating git repository `https://github.com/SergioBenitez/s2n-quic-h3.git`
From https://github.com/SergioBenitez/s2n-quic-h3
 * [new ref]         f83247128132c968d57a99fa5e76ac7f1528ea10 -> refs/commit/f83247128132c968d57a99fa5e76ac7f1528ea10
error: failed to select a version for `reqwest`.
    ... required by package `sponsorblock-mirror v0.1.0 (/tmp/renovate/repos/github/TeamPiped/sponsorblock-mirror)`
versions that meet the requirements `^0.13.2` are: 0.13.2

package `sponsorblock-mirror` depends on `reqwest` with feature `rustls-tls` but `reqwest` does not have that feature.
 available features: __native-tls, __native-tls-alpn, __rustls, __rustls-aws-lc-rs, __tls, blocking, brotli, charset, cookies, default, default-tls, deflate, form, gzip, hickory-dns, http2, http3, json, multipart, native-tls, native-tls-no-alpn, native-tls-vendored, native-tls-vendored-no-alpn, query, rustls, rustls-no-provider, socks, stream, system-proxy, zstd


failed to select a version for `reqwest` which could resolve this conflict

@renovate renovate Bot enabled auto-merge (squash) January 1, 2026 00:19
@renovate renovate Bot force-pushed the renovate/reqwest-0.x branch 3 times, most recently from 62d99d5 to f5105a8 Compare January 6, 2026 21:31
@renovate renovate Bot force-pushed the renovate/reqwest-0.x branch from f5105a8 to f1123e0 Compare January 12, 2026 04:55
@renovate renovate Bot force-pushed the renovate/reqwest-0.x branch 3 times, most recently from 1d976a4 to 2b919db Compare January 26, 2026 05:58
@renovate renovate Bot force-pushed the renovate/reqwest-0.x branch 3 times, most recently from ec29914 to af9978e Compare February 6, 2026 21:15
@renovate renovate Bot changed the title fix(deps): update rust crate reqwest to 0.13.1 fix(deps): update rust crate reqwest to 0.13.2 Feb 6, 2026
@renovate renovate Bot force-pushed the renovate/reqwest-0.x branch 2 times, most recently from d1695ca to a14c8f5 Compare February 16, 2026 04:28
@renovate renovate Bot force-pushed the renovate/reqwest-0.x branch from a14c8f5 to 7134b88 Compare February 23, 2026 04:34
@renovate renovate Bot force-pushed the renovate/reqwest-0.x branch 3 times, most recently from 6e4aba2 to 842f416 Compare March 9, 2026 04:52
@renovate renovate Bot force-pushed the renovate/reqwest-0.x branch 3 times, most recently from 4924e38 to ddffa06 Compare March 16, 2026 04:49
@renovate renovate Bot force-pushed the renovate/reqwest-0.x branch from ddffa06 to 1d7fb88 Compare March 23, 2026 04:59
@renovate renovate Bot force-pushed the renovate/reqwest-0.x branch from 1d7fb88 to f8405b6 Compare March 30, 2026 05:08
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 30, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 76000c30-66ae-4362-8d14-92565b0e96ad

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Updated the reqwest HTTP client dependency from version 0.12.28 to 0.13.2 in Cargo.toml while preserving the same feature configuration: json, rustls-tls, gzip, and brotli support with default features disabled.

Changes

Cohort / File(s) Summary
Dependency Update
Cargo.toml
Bumped reqwest dependency from 0.12.28 to 0.13.2 with unchanged features and settings.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A little hop and a version bump so fine,
From point twelve to thirteen, the stars align!
No breaking changes in our cozy warren here,
Just smoother HTTP requests, crystal clear! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: updating the reqwest dependency from 0.12.28 to 0.13.2, which is the sole purpose of this pull request.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate/reqwest-0.x

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@renovate renovate Bot force-pushed the renovate/reqwest-0.x branch 3 times, most recently from ac487c8 to 302c5b5 Compare April 8, 2026 17:00
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@Cargo.toml`:
- Line 15: The Cargo.toml dependency entry for reqwest incorrectly lists the
non-existent feature "rustls-tls"; update the reqwest dependency entry (the line
containing reqwest = {version = "0.13.2", features = [...], default-features =
false}) to replace "rustls-tls" with the correct "rustls" feature so the
features array becomes ["json", "rustls", "gzip", "brotli"].
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 05ca41bb-a163-4c6c-b88e-bc3aec06a975

📥 Commits

Reviewing files that changed from the base of the PR and between ea3e6d3 and 302c5b5.

📒 Files selected for processing (1)
  • Cargo.toml

Comment thread Cargo.toml
once_cell = "1.21.4"
regex = "1.12.3"
reqwest = {version = "0.12.28", features = ["json", "rustls-tls", "gzip", "brotli"], default-features = false}
reqwest = {version = "0.13.2", features = ["json", "rustls-tls", "gzip", "brotli"], default-features = false}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify reqwest 0.13.2 declared features from crates.io (read-only)
set -euo pipefail

curl -fsSL https://crates.io/api/v1/crates/reqwest/0.13.2 \
  | jq -r '.version.features | keys[]' \
  | sort

echo "---- check for expected TLS feature flags ----"
curl -fsSL https://crates.io/api/v1/crates/reqwest/0.13.2 \
  | jq -r '.version.features | keys[]' \
  | grep -E '^(rustls|rustls-tls)$' || true

Repository: TeamPiped/sponsorblock-mirror

Length of output: 441


reqwest 0.13.2 uses rustls feature, not rustls-tls

Line 15 specifies rustls-tls, which does not exist in reqwest 0.13.2 and will cause the build to fail. Change it to rustls.

Suggested fix
-reqwest = {version = "0.13.2", features = ["json", "rustls-tls", "gzip", "brotli"], default-features = false}
+reqwest = {version = "0.13.2", features = ["json", "rustls", "gzip", "brotli"], default-features = false}
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
reqwest = {version = "0.13.2", features = ["json", "rustls-tls", "gzip", "brotli"], default-features = false}
reqwest = {version = "0.13.2", features = ["json", "rustls", "gzip", "brotli"], default-features = false}
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@Cargo.toml` at line 15, The Cargo.toml dependency entry for reqwest
incorrectly lists the non-existent feature "rustls-tls"; update the reqwest
dependency entry (the line containing reqwest = {version = "0.13.2", features =
[...], default-features = false}) to replace "rustls-tls" with the correct
"rustls" feature so the features array becomes ["json", "rustls", "gzip",
"brotli"].

@renovate renovate Bot force-pushed the renovate/reqwest-0.x branch from 302c5b5 to aca06da Compare April 13, 2026 04:35
@renovate renovate Bot force-pushed the renovate/reqwest-0.x branch 2 times, most recently from 0c03cd6 to 39b12b3 Compare April 17, 2026 01:26
@renovate renovate Bot force-pushed the renovate/reqwest-0.x branch from 39b12b3 to e3c081d Compare April 20, 2026 09:56
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.

0 participants