Commit Graph
342 Commits
Author SHA1 Message Date
Yann Simon ca24460fac move imports under the feature (#3578) 2025-12-04 13:47:30 +01:00
Brad Dunbar 5c4c1658a7 SecondElementIs: Correct a small inconsistency (#3559) 2025-12-03 00:24:27 +01:00
David Mládek b9e35ec780 Split examples & check minimum versions (#3370)
Currently, both cargo deny and our MSRV checks use Cargo.lock file which has unified features and versions across both the axum crates and all the examples. This can hide some issues as usually when someone adds an example, they might use cargo add which will silently update the dependency for the whole repository. Some compilation errors (like axum requiring [email protected] while it uses features from [email protected]) will then be hidden.

I don't think most users would ever need to use the minimal versions anyway so this is not as severe, but someone might run into compilation errors.
2025-12-02 22:24:37 +01:00
Asger Hautop Drewsen e668598cef axum-extra: Add trailing newline to pretty JSON response (#3526) 2025-11-24 21:34:46 +01:00
Mohamed Macow 9bd839e5e9 refac(axum-extra): improve test invariants for protobuf.rs extractor (#3569) 2025-11-23 20:56:22 +01:00
Alice Ryhl 601d775da8 Fix integer underflow in try_range_response for empty files (#3566) 2025-11-22 20:09:42 +01:00
Jonas Platte b1ef45469b Merge branch 'v0.8.x' into jplatte/v0.8.7 2025-11-14 20:46:08 +01:00
Jonas Platte 4404f27cea Release axum v0.8.7 and axum-extra v0.12.2 2025-11-14 20:44:55 +01:00
Lyra Naeseth a05920c906 Make it easier to visually scan for default features (#3550) 2025-11-14 20:39:44 +01:00
Brad Dunbar 6d5e6d578a Use extensions directly in from_request_parts (#3542) 2025-11-14 20:38:45 +01:00
Jonas Platte 68320009fb Merge branch 'v0.8.x' into jplatte/extra-v0.12.1 2025-11-14 20:02:27 +01:00
Lyra Naeseth 3ef6c5d183 Make it easier to visually scan for default features (#3550) 2025-11-10 10:41:04 +01:00
Jonas Platte f9ce3e5b42 Release axum-extra 0.12.1 2025-11-02 18:03:49 +01:00
Jonas Platte 12e1cf9740 Add back package.metadata.docs.rs for axum-extra 2025-11-02 18:03:35 +01:00
Brad Dunbar efc1f57b15 Use extensions directly in from_request_parts (#3542) 2025-10-30 08:40:00 -04:00
David Mládek 914a35a012 Release axum-extra 0.12.0 2025-10-29 17:08:03 +01:00
xumapleandMaple Xu e20e90d0b6 Upgrade axum-extra to prost v0.14 (#3517)
Co-authored-by: Maple Xu <[email protected]>
2025-10-29 17:08:03 +01:00
Poliorcetics a77c2cf478 fix(axum-extra): don't require S generic param when using FileStream::from_path() (#3437) 2025-10-29 16:58:10 +01:00
David Mládek 0c2e4a2d09 axum-extra: gate rejection test behind feature (#3493) 2025-10-29 16:58:10 +01:00
tottoto 82ce9d6168 axum-extra: Add link definition for pull request to changelog (#3492) 2025-10-29 16:58:10 +01:00
tottoto 2175c8dcc7 axum-extra: Make rustversion and serde_core optional dependency (#3487) 2025-10-29 16:58:10 +01:00
tottoto 9e6be95ce7 axum-extra: Remove unused tower dependency (#3486) 2025-10-29 16:58:10 +01:00
tottoto 929512f462 axum-extra: Make axum optional dependency (#3485) 2025-10-29 16:58:10 +01:00
David Mládek 69703479c8 axum-extra: make option_layer guarantee that the output body is axum::body::Body 2025-10-29 16:58:10 +01:00
David Mládek 8d00a14736 axum-extra: Remove unused feature 2025-10-29 16:58:08 +01:00
tottoto dcbcf5c5fd axum-extra: Make typed-routing feature enable routing feature (#3514) 2025-10-11 11:22:51 +02:00
xumapleandMaple Xu 76cb48ebe0 Upgrade axum-extra to prost v0.14 (#3517)
Co-authored-by: Maple Xu <[email protected]>
2025-10-09 07:03:51 +02:00
David Mládek d8cd5cec4b Merge remote-tracking branch 'origin/v0.8.x' into mladedav/v0.8.6 2025-09-30 14:29:20 +02:00
David Mládek c1bb9c3e90 Release axum 0.8.6 and related crates 2025-09-30 12:03:26 +02:00
David Mládek 4a50581968 Update changelogs 2025-09-30 12:00:20 +02:00
David Mládek 5c76cfd26a Remove usage of the doc_auto_cfg feature (#3505) 2025-09-30 11:55:34 +02:00
David Mládek 6cea3eadee Remove usage of the doc_auto_cfg feature (#3505) 2025-09-30 11:53:30 +02:00
Jonas Platte f791ec3879 Merge branch 'v0.8.x' into jplatte/v0.8.5 2025-09-28 20:46:41 +02:00
Jonas Platte a1d22f68a5 Release axum 0.8.5 and related crates 2025-09-28 20:46:16 +02:00
Jonas Platte ad2fd5b50b Update changelogs 2025-09-28 20:26:09 +02:00
tottoto 0c66493474 axum-extra: Remove unused tower dependency (#3486) 2025-09-28 19:30:32 +02:00
Jonas Platte 16534439f5 Switch serde dependency to serde_core (#3477) 2025-09-28 19:28:32 +02:00
Joel Uckelman aa8f75111a Add axum_extra::extract::Query::try_from_uri (#3460)
`axum::extract::Query` has a try_from_uri, which is useful for testing. This adds the same function to `axum_extra::extract::Query`.
2025-09-28 19:25:25 +02:00
Theodore BjernhedandTheodore Bjernhed 384f393857 Add #[must_use] to types and methods (#3395)
Co-authored-by: Theodore Bjernhed <[email protected]>
2025-09-28 19:19:54 +02:00
Daniel 756bf0037f Implement the OptionalFromRequestParts trait for the Host extractor (#3177) 2025-09-28 19:16:54 +02:00
David Mládek cc11b5ad7d axum-extra: gate rejection test behind feature (#3493) 2025-09-22 14:18:46 +02:00
tottoto 817aae3d1e axum-extra: Add link definition for pull request to changelog (#3492) 2025-09-22 09:30:03 +02:00
tottoto 4d8a6f6f0f axum-extra: Make rustversion and serde_core optional dependency (#3487) 2025-09-21 06:32:56 +09:00
tottoto f09f50c50a axum-extra: Remove unused tower dependency (#3486) 2025-09-20 20:57:04 +00:00
tottoto d184798937 axum-extra: Make axum optional dependency (#3485) 2025-09-20 22:50:56 +02:00
David Mládek 5c090dcb3e axum-extra: make option_layer guarantee that the output body is axum::body::Body 2025-09-14 19:50:04 +02:00
Jonas Platte 4ab8df5e42 Switch serde dependency to serde_core (#3477) 2025-09-14 08:49:07 +02:00
Joel Uckelman 5d5ba01be9 Add axum_extra::extract::Query::try_from_uri (#3460)
`axum::extract::Query` has a try_from_uri, which is useful for testing. This adds the same function to `axum_extra::extract::Query`.
2025-09-08 10:18:31 +02:00
Kenny Lau 64ae48347e Fix typo in file_stream error message (#3459) 2025-09-07 12:49:22 +02:00
Poliorcetics 9ec85d6970 fix(axum-extra): don't require S generic param when using FileStream::from_path() (#3437) 2025-08-17 07:14:07 +02:00