kaze and Yann Simon
26ba7bb6f2
docs: consolidate state management docs in crate root ( #3683 )
...
Co-authored-by: Yann Simon <[email protected] >
2026-04-03 08:49:48 +02:00
417dc25280
Fix IntoResponse for tuples overriding error response codes ( #3603 )
...
Co-authored-by: David Pedersen <[email protected] >
Co-authored-by: Yann Simon <[email protected] >
2026-04-03 08:49:48 +02:00
Jonas Platte
f72c298ee8
Improve error messages with #[diagnostic::do_not_recommend] ( #3588 )
2025-12-27 10:22:51 +01:00
Jonas Platte
25549f0ba2
Update minimum Rust version to 1.78 ( #3412 )
2025-09-28 19:22:01 +02:00
Theodore Bjernhed and Theodore 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
Sabrina Jewson
fc50f462e6
Add DefaultBodyLimit::apply ( #3368 )
2025-09-28 19:17:34 +02:00
Jonas Platte
2f2bb99550
Run into_parts eagerly in more places
2025-03-28 09:35:21 +01:00
Jonas Platte
3525a13459
Revert "Make status a const function in rejection handling" ( #3287 )
2025-03-27 08:31:19 +01:00
K-tecchan
0cab17542e
docs: Correct TypedHeader link in axum-core/extract/request_parts.rs ( #3234 )
2025-02-28 07:22:51 +00:00
Ivan Krivosheev
b0b81746f7
axum-core/body: Implement Stream::size_hint for BodyDataStream ( #3195 )
2025-01-24 11:16:00 +01:00
Matthias Vogelgesang
067993eb56
Drop unused use in doctests ( #3185 )
2025-01-20 12:58:47 +01:00
Mohammed Alotaibi
e09cc59365
Make status a const function in rejection handling ( #3168 )
...
Signed-off-by: Awiteb <[email protected] >
2025-01-11 18:50:32 +00:00
Jonas Platte
f84105ae8b
Dependency cleanup ( #3145 )
2025-01-05 09:34:14 +01:00
Tobias Bieniek
28d8d9b747
Refactor TestClient usage ( #3121 )
2024-12-27 18:24:50 +01:00
Tobias Bieniek
33b353def8
Update docs.rs links to 0.8 ( #3120 )
2024-12-27 13:15:58 +01:00
Tobias Bieniek
53370b24e7
axum-core/macros: Change Display impl to match body_text() result ( #3118 )
2024-12-27 12:20:23 +01:00
Tobias Bieniek
287bd14711
axum-core/macros: Change $body to require literal token ( #3117 )
2024-12-27 11:39:08 +01:00
Tobias Bieniek
fd60c8471d
axum-core/macros: Move IntoResponse impls below regular impl blocks ( #3116 )
2024-12-27 11:27:44 +01:00
Tobias Bieniek
7c934f2a83
axum-core/macros: Avoid double body_text() calls in rejection macros ( #3110 )
2024-12-27 10:58:45 +01:00
Jonas Platte
ec75ee3827
Add a separate trait for optional extractors ( #2475 )
2024-12-10 02:54:59 +00:00
Jonas Platte
d84136e1e4
Centralize lint configuration ( #3055 )
2024-11-30 16:53:48 +01:00
Jonas Platte
56c709b33d
Some documentation fixes ( #3027 )
2024-11-14 21:12:16 +01:00
Zheng Li and Jonas Platte
19101f624d
Replace async_trait with AFIT / RPITIT ( #2308 )
...
Co-authored-by: Jonas Platte <[email protected] >
2024-09-28 21:27:11 +00:00
Jonas Platte
391f2deccd
core: Fix compile errors from __log_rejection ( #2933 )
2024-09-25 03:44:35 -04:00
yhx-12243
42003c08b5
Avoid reallocation for String body extraction ( #2857 )
2024-09-20 21:02:52 +02:00
Jonas Platte and Yann Simon
352b7cf044
Implement FromRequest for BytesMut ( #2583 )
...
Co-authored-by: Yann Simon <[email protected] >
2024-09-20 20:36:00 +02:00
Jonas Platte
b214e39581
Add more must_use attributes ( #2846 )
...
… so people get a warning when they accidentally add a semicolon after the response expression in a handler function.
Also update changelogs of axum-core, axum-extra.
2024-09-11 19:17:25 +00:00
StNicolay
6f50c6ed4e
Made DefaultBodyLimit const friendly ( #2875 )
2024-08-16 04:12:35 -04:00
Benno van den Berg
50274725cb
Resolve clippies ( #2843 )
2024-07-24 00:07:25 +02:00
David Mládek
51bb82bb2d
axum-core: Correctly use features for tracing macro ( #2739 )
2024-06-09 23:26:27 +02:00
Johann Birnick
68cfdced91
Derive Clone and Copy for AppendHeaders ( #2776 )
2024-06-09 23:24:30 +02:00
Jonas Platte
5201798d4e
Enable diagnostic attributes for Rust 1.78+ ( #2693 )
2024-04-30 11:05:38 -04:00
mikihiro
c6fd852844
Update sync_wrapper to 1.0.0 from 0.1.1
...
... and fix CI.
2024-03-23 19:46:20 +01:00
David Mládek
3569950a2e
Make nightly_error_messages feature compatible with latest nightly
2024-03-14 21:19:03 +01:00
Nick Price
934b1aac06
Grammar: Fix "it's" vs "its" in several places ( #2518 )
2024-01-15 21:48:11 +01:00
David Pedersen
85573e0573
impl IntoResponseParts for () (#2471 )
2023-12-30 17:47:22 +00:00
Tobias Bieniek
212d959a54
Body: Implement From<()> ( #2411 )
2023-12-19 10:51:38 +01:00
Benedikt Werner
6491655a80
Fix typo in DefaultBodyLimit docs ( #2401 )
2023-12-02 18:02:20 +01:00
SecretPocketCat
801a78a4cf
Fix from_stream doc link to Stream ( #2391 )
2023-12-01 16:01:40 +01:00
Justin Sexton
f98bc1186a
Updated doc link versions to use more explicit 0.7 version. ( #2379 )
2023-11-29 09:31:17 +00:00
Justin Sexton
57c59170c0
Updated doc link versions from 0.6.x to 0.7. ( #2378 )
2023-11-29 08:44:32 +00:00
David Pedersen
ff9764574c
Implement FromRequestParts for Parts and Extensions ( #2328 )
2023-11-23 11:30:23 +00:00
43b14a5f02
Update to latest versions of hyper and http-body ( #1882 )
...
Co-authored-by: Michael Scofield <[email protected] >
Co-authored-by: Jonas Platte <[email protected] >
2023-11-23 11:03:03 +00:00
Mikhail Antoshkin
c100650464
Fix items-after-test-module clippy warning on 1.75.0-beta.1 ( #2318 )
2023-11-16 07:15:16 +00:00
Yuri Astrakhan
17993c5717
A few clippy inspired changes ( #2233 )
2023-09-29 07:28:57 +00:00
Georg Semmler
2f6200dfbd
Use the diagnostic namespace ( #2246 )
2023-09-29 09:25:26 +02:00
Yuri Astrakhan
786329d85d
Use inline format args ( #2232 )
2023-09-19 06:51:57 +00:00
David Pedersen
54e203cd51
Clearly document applying DefaultBodyLimit to individual routes ( #2157 )
2023-08-08 09:57:55 +00:00
Jonas Platte
ff3884aa41
Silence error from enabling nightly_error_messages
2023-08-08 11:27:45 +02:00
David Pedersen
cc611b8b24
Implement IntoResponse for (R,) where R: IntoResponse ( #2143 )
2023-08-03 18:15:06 +00:00