Commit graph

1445 commits

Author SHA1 Message Date
Yann Simon
2dc164b4f8 Add test to cover state cloning in layer 2024-10-10 22:29:04 +02:00
novacrazy
1e118ccca9 Avoid cloning the uri/path 2024-10-10 22:28:31 +02:00
novacrazy
9feb526c03 remove one clone 2024-10-10 10:01:08 +02:00
Yann Simon
11fe5c737c cover clone in fallback with tests 2024-10-10 10:01:08 +02:00
novacrazy
b363354eaa avoid one state clone
This is an extraction of a part of https://github.com/tokio-rs/axum/pull/2865
2024-10-09 23:49:56 +02:00
Flamenco
19b99ea917
Update middleware.md (#2967) 2024-10-09 12:22:06 +02:00
Sabrina Jewson
5512b5b91f
fix: Avoid setting content-length before middleware (#2897) 2024-10-06 22:21:45 +02:00
Sabrina Jewson
822db3b1af
Add MethodFilter::CONNECT (#2961) 2024-10-06 19:09:06 +00:00
Sabrina Jewson
4b4dac4d86
Add axum_extra::json! (#2962) 2024-10-06 19:01:10 +00:00
Sabrina Jewson
64e6edac05
Add support for WebSockets over HTTP/2 (#2894) 2024-10-06 07:58:34 +00:00
Jonas Platte
d783a8b17e Add matchit upgrade to axum changelog 2024-10-05 11:44:31 +00:00
Jonas Platte
47791cb593 Remove versions from internal dev-dependencies
This breaks the cyclic dependencies for publishing.
2024-10-05 11:44:31 +00:00
Jonas Platte
9a69e415fb
Release axum 0.8.0-alpha.1 and related crates (#2958) 2024-10-05 11:20:05 +02:00
Jonas Platte
20a0624795
Replace Router::{map_inner, tap_inner_mut} by macros (#2954) 2024-10-04 17:00:50 +00:00
zleyyij
31a87f8b2b
axum-extra: Remove stray deprecation in multipart builder (#2957) 2024-10-04 16:59:26 +00:00
David Mládek
6318b57fda
chore: Upgrade matchit to 0.8 (#2645) 2024-10-03 15:46:58 +00:00
Jonas Platte
5db62e8452
Remove examples/listen-multiple-addrs (#2951) 2024-09-30 23:23:19 +02:00
Keir Lawson
20b9445347
Reference the requirements for from_fn_with_state (#2950) 2024-09-30 15:55:53 +00:00
David Mládek
4944ed3b1c
Update MSRV in READMEs (#2948) 2024-09-30 10:18:49 +02:00
Jonas Platte
928d31d1d7
ci: Only save cache from main (#2946) 2024-09-29 21:15:49 +00:00
Jonas Platte
fb4b1899eb
Remove mutexes around boxed services (#2947) 2024-09-29 21:04:31 +02:00
creativcoder
3eb8854839
Move Html from axum-extra to axum (#2633) 2024-09-29 09:00:38 +00:00
Jonas Platte
3df15fd2ea
Update mongodb example (#2944) 2024-09-28 23:40:52 +02:00
David Pedersen
52fd139a86
Require Sync for services (#2473)
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2024-09-28 23:28:44 +02:00
Zheng Li
19101f624d
Replace async_trait with AFIT / RPITIT (#2308)
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2024-09-28 21:27:11 +00:00
Jonas Platte
dda5a273b5
README updates (#2945) 2024-09-28 23:23:22 +02:00
Jonas Platte
689ca1aea2
Update MSRV for all crates to 1.75 (#2943) 2024-09-28 21:21:41 +00:00
zleyyij
55f9170c7c
Add multipart/form-data response builders to axum-extra (#2654) 2024-09-28 19:40:52 +00:00
Ethra
073de8b5a4
Add low-level-native-tls examples (#2860) 2024-09-28 19:30:19 +00:00
Mobin Mohanan
4d9017af7e
Add MongoDB example (#2535) 2024-09-28 13:03:52 +02:00
Artur Corrêa Souza
e784977aa6
docs: Remove duplicate tower-sessions entry from ECOSYSTEM.md (#2733) 2024-09-28 09:34:50 +00:00
Nia
2542acb243
Add request id example (#2912) 2024-09-28 11:25:05 +02:00
Jonas Platte
5d8541de6e
Remove duplication in serving with and without graceful shutdown (#2803) 2024-09-27 23:16:54 +02:00
Jonas Platte
4b48f308c3
Merge branch 'v0.7.x' into main 2024-09-27 22:37:09 +02:00
Jonas Platte
fe56a310ef
Bump versions 2024-09-27 22:36:28 +02:00
Jonas Platte
ac50d7daaf
docs: Remove manual tables of content (#2921) 2024-09-27 21:24:08 +02:00
Jonas Platte
6f5607785d
core: Fix compile errors from __log_rejection (#2933) 2024-09-27 21:22:59 +02:00
Jonas Platte
4fc0641874
Upgrade private dependencies (#2935) 2024-09-27 21:22:29 +02:00
Sabrina Jewson
6ec3a51f2d
Clarify some subtleties of routing (#2896) 2024-09-27 21:22:04 +02:00
Jonas Platte
0a0e438a8b
docs: Remove manual tables of content (#2921) 2024-09-27 21:16:17 +02:00
Jonas Platte
85b6fd49c7
Upgrade most example dependencies (#2936) 2024-09-27 18:50:52 +02:00
Jonas Platte
2fb6cea732
Remove unused dependencies from examples (#2934) 2024-09-25 03:44:47 -04:00
Jonas Platte
391f2deccd
core: Fix compile errors from __log_rejection (#2933) 2024-09-25 03:44:35 -04:00
Jonas Platte
ef50e5c180
Upgrade private dependencies (#2935) 2024-09-24 23:50:53 +02:00
Hytak
4179d11797
Stricter path deserialization for tuples and tuple structs (#2931) 2024-09-24 17:17:16 +00:00
Sabrina Jewson
068c9a3e96
Clarify some subtleties of routing (#2896) 2024-09-22 13:32:59 +02:00
Sandor Apati
2fe435173e
ECOSYSTEM.md: Add link to rust-api.dev (#2923) 2024-09-21 09:09:23 +02:00
Jonas Platte
712b3ef24b
Merge branch 'v0.7.x' into main 2024-09-20 21:27:30 +02:00
Jonas Platte
a73dab417d
Bump versions 2024-09-20 21:25:30 +02:00
yhx-12243
f1723890cb
Avoid reallocation for String body extraction (#2857) 2024-09-20 21:14:42 +02:00