Skip to content

Update Rust crate http to v1

Renovate [bot] requested to merge renovate/http-1.x into master

This MR contains the following updates:

Package Type Update Change
http dependencies major 0.2 -> 1.0

Release Notes

hyperium/http (http)

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.

v1.0.0

Compare Source

  • Implement Clone for Request, Response, and Extensions. This breaking change requires that all extensions now implement Clone.
  • Add a default-on std feature. Disabling it currently is not supported.
  • Fix MIRI warnings in HeaderMap::iter().

v0.2.12

Compare Source

What's Changed

  • Add methods to allow trying to allocate in the HeaderMap, returning an error if oversize instead of panicking.
  • Fix HeaderName::from_lowercase that could allow NUL bytes in some cases.

v0.2.11

Compare Source

What's Changed

  • Fix MIRI warnings in HeaderMap::iter().

v0.2.10

Compare Source

  • Fix parsing of Authority to handle square brackets in incorrect order.
  • Fix HeaderMap::with_capacity() to handle arithmetic overflow.

v0.2.9

Compare Source

  • Add HeaderName constants for cache-status and cdn-cache-control.
  • Implement Hash for PathAndQuery.
  • Re-export HeaderName at crate root.

v0.2.8

Compare Source

  • Fix internal usage of uninitialized memory to use MaybeUninit inside HeaderName.

v0.2.7

Compare Source

  • MSRV bumped to 1.49.
  • Add extend() method to Extensions.
  • Add From<Authority> and From<PathAndQuery> impls for Uri.
  • Make HeaderName::from_static a const fn.

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

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


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

This MR has been generated by Renovate Bot.

Edited by Renovate [bot]

Merge request reports

Loading