Commit Graph
224 Commits
Author SHA1 Message Date
Tomaz Canabrava 20dfe6645d Improve typed path by disallowing deprecated variable definitions (#3618) 2026-03-19 12:42:00 +01:00
Yann Simon da26db264f fix formatting (#3685) 2026-03-11 12:48:37 +01:00
Andrea Bozzo 22f769c7f1 fix: Return specific error message when multipart body limit is exceeded (#3611) 2026-02-26 10:14:20 +00:00
Mathieu 60a0d2838f fix(axum-extra): escape filename in Content-Disposition header (#3664) 2026-02-17 14:47:28 +01:00
Joey de Waal 7961711fc7 Accept owned locations in Redirect constructors (#3635) 2026-01-30 11:34:46 +00:00
Antonio Souza b1c5ed99c5 Fix InternalServerError docs to match current behavior (#3640)
Signed-off-by: Antonio Souza <[email protected]>
2026-01-27 09:50:35 +00:00
Dominique Martinet 2df78b7072 axum-extra: Remove unused extract::rejection module (#3636) 2026-01-22 08:40:01 +01:00
576968b406 Fix IntoResponse for tuples overriding error response codes (#3603)
Co-authored-by: David Pedersen <[email protected]>
Co-authored-by: Yann Simon <[email protected]>
2026-01-18 20:20:18 +01:00
Consoli 4077966491 docs: Document that vpath and json macros are feature-gated (#3615) 2026-01-05 17:45:45 +01:00
Jonas Platte 183ace306a Add method filtering to route_with_tsr (#3586) 2026-01-04 09:46:33 +01:00
Jonas Platte e3b32f48b5 Remove deprecated extractors from axum-extra (#3599) 2025-12-27 15:43:01 +00:00
Jonas Platte cc9f151f3c Merge branch 'v0.8.x' 2025-12-27 10:48:19 +01:00
Jonas Platte aba8046921 Deprecate Host and Scheme extractors 2025-12-26 14:48:47 +01:00
Jonas Platte cae6bc3709 axum: Use serde_html_form for Query and Form (#3594) 2025-12-26 13:03:42 +01:00
Jan e1ed2f189c fix(json-lines): Respect default body limit (#3591) 2025-12-22 20:24:59 +01:00
Brad Dunbar f5804aa6a1 SecondElementIs: Correct a small inconsistency (#3559) 2025-12-20 14:04:13 +01:00
Asger Hautop Drewsen f51f3ba436 axum-extra: Add trailing newline to pretty JSON response (#3526) 2025-12-20 14:03:58 +01:00
Alice Ryhl 816407a816 Fix integer underflow in try_range_response for empty files (#3566) 2025-12-20 14:03:46 +01:00
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
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
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
Lyra Naeseth 3ef6c5d183 Make it easier to visually scan for default features (#3550) 2025-11-10 10:41:04 +01:00
Brad Dunbar efc1f57b15 Use extensions directly in from_request_parts (#3542) 2025-10-30 08:40:00 -04: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 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
tottoto dcbcf5c5fd axum-extra: Make typed-routing feature enable routing feature (#3514) 2025-10-11 11:22:51 +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 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 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
Theodore Bjernhed 6bc0717b06 Improve value and reference passing efficiency (#3406) 2025-07-11 05:38:45 +02:00
Theodore Bjernhed 1b157a461e Enable and fix control flow related clippy lints 2025-07-09 18:48:28 +00:00
Theodore BjernhedandTheodore Bjernhed fb64e72de9 Add #[must_use] to types and methods (#3395)
Co-authored-by: Theodore Bjernhed <[email protected]>
2025-07-05 19:07:24 +02:00
Theodore Bjernhed 0f255c3c4c style: use Self to avoid unnecessary repetition (#3396) 2025-07-04 21:10:01 +00:00
Daniel 769e4066b1 Implement the OptionalFromRequestParts trait for the Host extractor (#3177) 2025-05-25 21:13:01 +02:00