Update Rust crate http to 0.2.0 #32
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.1.7→0.2.0Release Notes
hyperium/http (http)
v0.2.12Compare Source
What's Changed
HeaderMap, returning an error if oversize instead of panicking.HeaderName::from_lowercasethat could allow NUL bytes in some cases.v0.2.11Compare Source
What's Changed
HeaderMap::iter().v0.2.10Compare Source
Authorityto handle square brackets in incorrect order.HeaderMap::with_capacity()to handle arithmetic overflow.v0.2.9Compare Source
HeaderNameconstants forcache-statusandcdn-cache-control.HashforPathAndQuery.HeaderNameat crate root.v0.2.8Compare Source
MaybeUninitinsideHeaderName.v0.2.7Compare Source
1.49.extend()method toExtensions.From<Authority>andFrom<PathAndQuery>impls forUri.HeaderName::from_staticaconst fn.v0.2.6Compare Source
itoadependency to 1.0.v0.2.5Compare Source
is_empty()andlen()methods toExtensions.version_ref()method torequest::Builder.TryFrom<Vec<u8>>andTryFrom<String>forAuthority,Uri,PathAndQuery, andHeaderName.HeaderValue::from_staticaconst fn.v0.2.4Compare Source
Uriparsing to allow{,", and}in paths.v0.2.3Compare Source
bytesdependency to 1.0.v0.2.2Compare Source
HeaderMap)OccupiedEntry::remove_entryandremove_entry_multwhen multiple values are present. ([#446], [#449] dekellum)ByteStrand refactor ofAuthority([#408], [#414] sbosnick)HeaderNameto error instead of panic when input is too long ([#432] [#433] acfoltzer)StatusCodeto encode values 100-999 without error. Use of theunclassified range 600-999 remains discouraged. ([#144], [#438], [#443] quininer dekellum)
Stringand&Stringfallible conversions toPathAndQuery([#450] mkindahl)Authority(andUri) to error instead of panic on unbalanced brackets([#435], [#445] aeryz)
v0.2.1Compare Source
Authorityto handle square brackets in incorrect order.HeaderMap::with_capacity()to handle arithmetic overflow.v0.2.0Compare Source
Version::HTTP_3constant.HeaderValue::from_maybe_shared,HeaderValue::from_maybe_shared_unchecked,Uri::from_maybe_shared,Authority::from_maybe_shared, andPathAndQuery::from_maybe_shared.request::Builder,response::Builder, anduri::Builderto use by-value methods instead of by-ref.HttpTryFromtrait tostd::convert::TryFrom.HeaderMap::entryto no longer return aResult.HeaderMap::drainiterator to match the behavior ofIntoIter.Authority::portto return anOption<Port>instead ofOption<u16>.Uri::schemeto returnOption<&Scheme>instead ofOption<&str>.Uri::authorityto returnOption<&Authority>instead ofOption<&str>.InvalidUriBytes,InvalidHeaderNameBytes, andInvalidHeaderValueByteserror types.HeaderValue::from_shared,HeaderValue::from_shared_unchecked,Uri::from_shared,Authority::from_shared,Scheme::from_shared, andPathAndQuery::from_shared.Authority::port_part.Uri::scheme_partandUri::authority_part.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 PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.