fix(deps): update rust crate http to v1.4.0 #5

Merged
kjuulh merged 1 commits from renovate/all into main 2026-02-07 02:30:20 +01:00
Owner

This PR contains the following updates:

Package Type Update Change
http dependencies minor 1.0.0 -> 1.4.0

Release Notes

hyperium/http (http)

v1.4.0

Compare Source

  • Add StatusCode::EARLY_HINTS constant for 103 Early Hints.
  • Make StatusCode::from_u16 now a const fn.
  • Make Authority::from_static now a const fn.
  • Make PathAndQuery::from_static now a const fn.
  • MSRV increased to 1.57 (allows legible const fn panic messages).

v1.3.1

Compare Source

  • Fix validation that all characters are UTF-8 in URI path and query.

v1.3.0

Compare Source

  • Allow most UTF-8 characters in URI path and query.
  • Fix HeaderMap::reserve() to allocate sufficient capacity.

v1.2.0

Compare Source

  • Add StatusCode::TOO_EARLY constant for 425 status.
  • Loosen TryFrom<HashMap> for HeaderMap to work with any state generic.
  • Change Builder methods to use TryInto instead of TryFrom arguments.
  • Make StatusCode::as_u16 a const function.
  • Fix Method parsing to allow #$%&' characters.
  • Fix HeaderName parsing to reject " characters.
  • Fix off by 1 error in Method::from_bytes that could cause extra allocations.

v1.1.0

Compare Source

  • Add methods to allow trying to allocate in the HeaderMap, returning an error if oversize instead of panicking.
  • Add Extensions::get_or_insert() method.
  • Implement From<Uri> for uri::Builder.
  • Fix HeaderName::from_lowercase that could allow NUL bytes in some cases.

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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [http](https://github.com/hyperium/http) | dependencies | minor | `1.0.0` -> `1.4.0` | --- ### Release Notes <details> <summary>hyperium/http (http)</summary> ### [`v1.4.0`](https://github.com/hyperium/http/blob/HEAD/CHANGELOG.md#140-November-24-2025) [Compare Source](https://github.com/hyperium/http/compare/v1.3.1...v1.4.0) - Add `StatusCode::EARLY_HINTS` constant for 103 Early Hints. - Make `StatusCode::from_u16` now a `const fn`. - Make `Authority::from_static` now a `const fn`. - Make `PathAndQuery::from_static` now a `const fn`. - MSRV increased to 1.57 (allows legible const fn panic messages). ### [`v1.3.1`](https://github.com/hyperium/http/blob/HEAD/CHANGELOG.md#131-March-11-2025) [Compare Source](https://github.com/hyperium/http/compare/v1.3.0...v1.3.1) - Fix validation that all characters are UTF-8 in URI path and query. ### [`v1.3.0`](https://github.com/hyperium/http/blob/HEAD/CHANGELOG.md#130-March-11-2025) [Compare Source](https://github.com/hyperium/http/compare/v1.2.0...v1.3.0) - Allow most UTF-8 characters in URI path and query. - Fix `HeaderMap::reserve()` to allocate sufficient capacity. ### [`v1.2.0`](https://github.com/hyperium/http/blob/HEAD/CHANGELOG.md#120-December-3-2024) [Compare Source](https://github.com/hyperium/http/compare/v1.1.0...v1.2.0) - Add `StatusCode::TOO_EARLY` constant for 425 status. - Loosen `TryFrom<HashMap>` for `HeaderMap` to work with any state generic. - Change `Builder` methods to use `TryInto` instead of `TryFrom` arguments. - Make `StatusCode::as_u16` a `const` function. - Fix `Method` parsing to allow `#$%&'` characters. - Fix `HeaderName` parsing to reject `"` characters. - Fix off by 1 error in `Method::from_bytes` that could cause extra allocations. ### [`v1.1.0`](https://github.com/hyperium/http/blob/HEAD/CHANGELOG.md#110-March-4-2024) [Compare Source](https://github.com/hyperium/http/compare/v1.0.0...v1.1.0) - Add methods to allow trying to allocate in the `HeaderMap`, returning an error if oversize instead of panicking. - Add `Extensions::get_or_insert()` method. - Implement `From<Uri>` for `uri::Builder`. - Fix `HeaderName::from_lowercase` that could allow NUL bytes in some cases. </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
kjuulh added 1 commit 2026-02-07 02:30:18 +01:00
kjuulh scheduled this pull request to auto merge when all checks succeed 2026-02-07 02:30:19 +01:00
kjuulh merged commit dddfe60234 into main 2026-02-07 02:30:20 +01:00
kjuulh deleted branch renovate/all 2026-02-07 02:30:20 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kjuulh/forge-enforce#5