Highlights
- Add
StatusCode::EARLY_HINTSconstant for 103 Early Hints. - Make
StatusCode::from_u16now aconst fn. - Make
Authority::from_staticnow aconst fn. - Make
PathAndQuery::from_staticnow aconst fn. - MSRV increased to 1.57 (allows legible const fn panic messages).
What's Changed
- Updated Rand dependency to v0.9.1 by @FarzadMohtasham in #763
- Fix compilation on latest nightly by @akonradi-signal in #769
- Avoid unnecessary .expect()s for empty HeaderMap by @akonradi-signal in #768
- feat: show types in
Extensionsdebug output by @crepererum in #773 - Docs: Clarify the
HeaderMapdocumentaion by @Sol-Ell in #774 - style: update format for tests by @seanmonstar in #782
- Make
StatusCode::from_u16const by @coolreader18 in #761 - docs: Fix typo 'an' to 'and' in http::status module documentation by @zxzxovo in #784
- fix: Prevent panic in try_reserve/try_with_capacity on capacity overflow by @AriajSarkar in #787
- fix: Add reserve() to Extend impl for (Option, T)) by @AriajSarkar in #788
- chore: minor improvement for docs by @claudecodering in #790
- chore: bump MSRV to 1.57 by @seanmonstar in #793
- Add EARLY_HINTS status code by @mdevino in #758
- refactor(header): use better panic message in const HeaderName and HeaderValue by @seanmonstar in #797
- docs: remove unnecessary extern crate sentence by @tottoto in #799
- chore(ci): update to actions/checkout@v5 by @tottoto in #800
- feat(uri): make
Authority/PathAndQuery::from_staticconst by @WaterWhisperer in #786 - refactor(header): inline FNV hasher to reduce dependencies by @seanmonstar in #796
- v1.4.0 by @seanmonstar in #803
New Contributors
- @FarzadMohtasham made their first contribution in #763
- @akonradi-signal made their first contribution in #769
- @crepererum made their first contribution in #773
- @Sol-Ell made their first contribution in #774
- @coolreader18 made their first contribution in #761
- @zxzxovo made their first contribution in #784
- @AriajSarkar made their first contribution in #787
- @claudecodering made their first contribution in #790
- @mdevino made their first contribution in #758
- @WaterWhisperer made their first contribution in #786
Full Changelog: v1.3.1...v1.4.0