Update Rust crate http to v1
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
- 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>
foruri::Builder
. - Fix
HeaderName::from_lowercase
that could allow NUL bytes in some cases.
v1.0.0
- Implement
Clone
forRequest
,Response
, andExtensions
. This breaking change requires that all extensions now implementClone
. - Add a default-on
std
feature. Disabling it currently is not supported. - Fix MIRI warnings in
HeaderMap::iter()
.
v0.2.12
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
What's Changed
- Fix MIRI warnings in
HeaderMap::iter()
.
v0.2.10
- Fix parsing of
Authority
to handle square brackets in incorrect order. - Fix
HeaderMap::with_capacity()
to handle arithmetic overflow.
v0.2.9
- Add
HeaderName
constants forcache-status
andcdn-cache-control
. - Implement
Hash
forPathAndQuery
. - Re-export
HeaderName
at crate root.
v0.2.8
- Fix internal usage of uninitialized memory to use
MaybeUninit
insideHeaderName
.
v0.2.7
- MSRV bumped to
1.49
. - Add
extend()
method toExtensions
. - Add
From<Authority>
andFrom<PathAndQuery>
impls forUri
. - Make
HeaderName::from_static
aconst fn
.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Renovate [bot]