-
Broaden bytes dependency to include 1.1.
-
Broaden httparse dependency to include 1.4.
-
Clarify MSRV policy in README.md.
-
Remove log dependency, which was only used sparsely as a poor workaround for unspecific
Error::Headererrors. (#25) -
Upgrade to bytes 1.0.0 (paolobarbolini #31)
-
Lift prior constraint on http dependency (optimistically hoping for no further 0.2.z anomalous releases).
- Constrain http dependency to <0.2.3 for remaining 1.2 series due to dubious release practices, e.g. forcing duplicates in patch releases. This will be lifted in 1.3.0, see this github comment.
-
Replace use of time crate with httpdate crate for date/time typed headers (paolobarbolini #24)
-
Broaden base64 dependency to include 0.13.0 (dvermd #23)
-
Fix various compile warnings with rustc 1.44 and later.
-
Broaden base64 dependency to include 0.12.0 (paolobarbolini #20)
-
The default compat feature is no longer optional, as its unlikely that anyone would be using recent versions without this feature. The feature gate name is retained for now, but has no effect.
-
Place the legacy
Headersstruct under a new non-default headers feature gate. Note that use of this type is no longer required nor recommended for parsing and serialization of typed headers. See the rewritten typed header doc examples. Consider replacing with the http crateHeaderMapand theTypedHeadersextension trait introduced here in 0.15.0. (#18) -
Upgrade to http 0.2.0 (\w API changes) and bytes 0.5.2 (MSRV 1.39.0)
-
Upgrade (unconstrain) cfg-if dependency to 0.1.10 (MSRV 1.31.0)
-
Upgrade to unicase 2.6.0
-
Upgrade to percent-encoding 2.1.0 (\w API changes, MSRV 1.33.0) (#15)
-
Upgrade to time 0.1.39 to avoid minimal version build failure
-
Broaden base64 dependency to include 0.11.0 (MSRV 1.34.0)
-
MSRV is now 1.39.0, based on above upgrades.
-
Constrain transitive cfg-if dependency to <0.1.10 to preserve MSRV 1.27.2.
-
Narrow various other dependencies for future reliability. We may subsequently make PATCH releases which broaden private or public dependencies to include new releases found compatible.
- Fix build.rs for
rustc --versionnot including git metadata (alyssais #14)
-
Add a
TypedHeadersextension trait providing more convenient generic encode/decode methods tohttp::HeaderMapfor hyperx typed headers, implemented using a newStandardHeadertrait andstandard_header!macro, with an associate function for theHeaderNameconstants of the http crate. (#13) -
Add reference based
impl From<&'a Headers> for http::HeaderMapfor symmetry and performance, e.g. avoiding aclone. (#13) -
Increase MSRV to 1.27.2, which enables us to revert a CI workaround for the fact that base64 0.10.1 was released with this same MSRV. (#10 #12)
-
Add a build.rs to check MSRV and fail fast with a clear error when older rustc versions are used. (#12)
-
Update the signature of
Header::parse_headerto be generic over types implementing a newRawLiketrait, which includes the existing localRawtype as well as http crate typesHeaderValueand (HeaderMap::get_all)GetAll. This avoids an allocation when directly parsing from these later types.Expected Breakage: Any 3rd-party custom headers directly implementing
parse_headerwill need to change accordingly on upgrade. AlsoIntoconversions toRawnow frequently need to be type annotated. (#8) -
Improve header module rustdoc, including with parsing usage for the above.
-
Remove un-exported, and unused as of 0.13.1,
urimodule and related code. -
Broaden base64 dependency to include 0.10.0, passing tests.
-
Silence a deprecation warning for
str::trim_right_matchesuntil the minimum rust version is updated to 1.30.0.
- Remove
error::UriErrorre-export anderror::Canceledwhich are unused internally and where not exported from this crate. (#5)
-
Remove variants from
hyperx::Errorwhich are unused by the header module. Exhaustive matching has been discouraged for this enum, but this is still a potential breaking change. (dekellum #2) -
Add an alternative, by reference
From<&http::HeaderMap>forHeaders. (DarrenTsung #3)
Forked from hyper 0.11.27, extracting the typed header module from hyperium/hyper@76fdbcf2, 0.11.x branch, preserved here as 76fdbcf2.
See hyper's CHANGELOG for prior updates pertaining to the headers sub-module.