chore(deps): bump http from 1.5.0 to 1.6.0

Merged
DE
1d ago
+2-2

Bumps http from 1.5.0 to 1.6.0.

Release notes

Sourced from http's releases.

v1.6.0

Features

  • Add HeaderMap::retain() to keep header values that match a predicate.

Fixes

  • Fix HeaderValue string conversions to reject non-ASCII characters.
  • Fix validation of long header names passed to HeaderMap as strings.
  • Fix HeaderName::from_lowercase() and from_static() to reject double quotes.
  • Fix HeaderMap iterators that could overestimate their remaining length in size_hint().
  • Fix header::OccupiedEntry::insert_mult() panicking when replacing three or more values.
  • Fix Uri parsing to recognize http and https regardless of case.
  • Fix Uri formatting to omit the * path when a scheme and authority are present.
  • Fix Authority::from_static() to reject trailing bytes left over after parsing.

Performance

  • Reduce the size of HeaderMap.
  • Reduce integer conversions to HeaderValue to one allocation.
  • Speed up URI parsing by optimizing authority scanning and scheme detection.

The whole thing

New Contributors

... (truncated)

Changelog

Sourced from http's changelog.

1.6.0 (December 1, 2026)

  • Add HeaderMap::retain() to keep header values that match a predicate.
  • Fix HeaderValue string conversions to reject non-ASCII characters.
  • Fix validation of long header names passed to HeaderMap as strings.
  • Fix HeaderName::from_lowercase() and from_static() to reject double quotes.
  • Fix HeaderMap iterators that could overestimate their remaining length in size_hint().
  • Fix header::OccupiedEntry::insert_mult() panicking when replacing three or more values.
  • Fix Uri parsing to recognize http and https regardless of case.
  • Fix Uri formatting to omit the * path when a scheme and authority are present.
  • Fix Authority::from_static() to reject trailing bytes left over after parsing.
  • Reduce the size of HeaderMap.
  • Reduce integer conversions to HeaderValue to one allocation.
  • Speed up URI parsing by optimizing authority scanning and scheme detection.
Commits
  • 91b02a1 v1.6.0
  • 34a68ec perf(uri): faster authority scan and scheme split (#887)
  • 5d975b8 feat(header): add HeaderMap::retain (#892)
  • 8bf7972 test: miri ignore the adaptive hashing test (#893)
  • a8309a9 fix(uri): reject unconsumed trailing bytes in Authority::from_static (#882)
  • 2f84006 docs: remove outdated panic about HeaderName length (#889)
  • 591d73d fix(uri): don't glue * onto the authority in Display (#884)
  • e54da47 fix(uri): parse uppercase http/https as standard schemes (#883)
  • 052b831 test(header): add headermap adaptive hashing test (#880)
  • 4a0885c perf(header): allocate once in HeaderValue::from for integers (#885)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by cubic

Updates http from 1.5.0 to 1.6.0 in Cargo.lock. The release adds HeaderMap::retain(), tightens header and URI validation, and improves parsing performance with no breaking changes.