Commit Graph

1674 Commits

Author SHA1 Message Date
David Mládek
914a35a012 Release axum-extra 0.12.0 2025-10-29 17:08:03 +01:00
xumaple
e20e90d0b6 Upgrade axum-extra to prost v0.14 (#3517)
Co-authored-by: Maple Xu <mapxu@microsoft.com>
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
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
Jonas Platte
c720f568da
Release axum-core v0.5.4 2025-09-28 22:12:48 +02:00
Jonas Platte
0c96ead9d1
Remove unused rustversion dependency of axum-core (#3502) 2025-09-28 22:01:13 +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
Antoine Vandecreme
a0692f9f54
Reject JSON bodies with trailing chars (#3453) 2025-09-28 20:25:54 +02:00
tottoto
ae80850223
Update to cargo-deny api version 2 (#3475) 2025-09-28 19:41:46 +02:00
Jonas Platte
651cc1e935
Remove unused link def 2025-09-28 19:37:31 +02:00
Jonas Platte
6529158354
Bump Cargo.lock 2025-09-28 19:36:51 +02:00
Jonas Platte
1a7460cd27
ci: Also run for release branches 2025-09-28 19:32:40 +02:00
tottoto
cb8670a94b
Update to tokio-tungstenite 0.28 (#3497) 2025-09-28 19:31:58 +02:00
tottoto
0c66493474
axum-extra: Remove unused tower dependency (#3486) 2025-09-28 19:30:32 +02:00
Fredrik Park
6f1ed5e0a0
Spelling misstake in Using closure capture (#3481) 2025-09-28 19:30:18 +02:00
Loic Hausammann
221ef3795b
websocket: add a wrapper around is_terminated (#3443)
Co-authored-by: Loic <loic@daedalean.ai>
Co-authored-by: loikki <851651-loikki@users.noreply.gitlab.com>
2025-09-28 19:30:07 +02:00
David Mládek
d108c50ce7
axum: add ResponseAxumBodyLayer for mapping response body to axum::body::Body 2025-09-28 19:28:47 +02:00
Jonas Platte
16534439f5
Switch serde dependency to serde_core (#3477) 2025-09-28 19:28:32 +02:00
Niclas Klugmann
c40f739cdf
Clarify that AddExtension is not the actual Layer (#3463) 2025-09-28 19:25:37 +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
reivilibre
b8ae30747c
Document type parameter T on Handler (#3435)
Signed-off-by: Olivier 'reivilibre <git.contact@librepush.net>
2025-09-28 19:24:04 +02:00
Glen De Cauwsemaecker
eb3c5418ef
Support custom (binary) data to be written into SSE Event (#3425) 2025-09-28 19:24:00 +02:00
Glen De Cauwsemaecker
d88b39897b
Fix ci failures (#3432) 2025-09-28 19:22:35 +02:00
Jan Runge
f736e9f24e
Extractors doc: correct linked example section (#3349) 2025-09-28 19:22:10 +02:00
Jonas Platte
25549f0ba2
Update minimum Rust version to 1.78 (#3412) 2025-09-28 19:22:01 +02:00
Glen De Cauwsemaecker
c1ff1539e3
sse: Add space between duration and : (#3403) 2025-09-28 19:20:22 +02:00
Theodore Bjernhed
384f393857
Add #[must_use] to types and methods (#3395)
Co-authored-by: Theodore Bjernhed <fosseder@danwin1210.de>
2025-09-28 19:19:54 +02:00
tottoto
3a18eb6108
Update tokio-tungstenite to 0.27 (#3398) 2025-09-28 19:19:33 +02:00
Theodore Bjernhed
62586fa492
style: Reorder macro-generated items to fix lints (#3392) 2025-09-28 19:18:47 +02:00
zeon
d0d8088be1
New redirect inspection (#3377) 2025-09-28 19:18:22 +02:00
Sabrina Jewson
fc50f462e6
Add DefaultBodyLimit::apply (#3368) 2025-09-28 19:17:34 +02:00
Jake McGinty
f32223b2e9
Implement OptionalFromRequest for Multipart (#3220) 2025-09-28 19:17:02 +02:00
Daniel
756bf0037f
Implement the OptionalFromRequestParts trait for the Host extractor (#3177) 2025-09-28 19:16:54 +02:00
Jonas Platte
01ecea0e33
Make clippy happy (#3350) 2025-09-28 19:15:42 +02:00
Nano
abe98474e1
Make SSE less dependent on tokio (#3154) 2025-09-28 19:12:15 +02:00
Jonas Platte
8762520da8
Release axum 0.8.4 2025-04-30 18:01:39 +02:00
Jonas Platte
ac75e2f727 Split up serve functions for Serve and WithGracefulShutdown again
We should not spawn a tokio task to wait on a signal that can never arrive.
2025-04-30 14:19:15 +02:00
Jonas Platte
c1162d3191 Extract handle_connection out of do_serve 2025-04-30 14:19:15 +02:00
Jonas Platte
c25184565b Simplify do_serve a bit 2025-04-30 14:19:15 +02:00
Jonas Platte
ba4327ece0 Stop implementing IntoFuture for Serve via with_graceful_shutdown 2025-04-30 14:19:15 +02:00