Jonas Platte
352b7cf044
Implement FromRequest for BytesMut ( #2583 )
...
Co-authored-by: Yann Simon <yann.simon@commercetools.com>
2024-09-20 20:36:00 +02:00
Jonas Platte
69fac0a065
ci: Add more allowances for multiple version of the same crate
2024-09-20 20:34:07 +02:00
Jonas Platte
652e59b0c0
Upgrade tower and tower-http
2024-09-20 20:34:07 +02:00
tiaoxizhan
680cdcba7c
chore: Add missing symbol ( #2909 )
...
Signed-off-by: tiaoxizhan <tiaoxizhan@outlook.com>
2024-09-12 19:44:44 +02:00
Zan Pan
6b2d9f4522
ECOSYSTEM: add zino-rs ( #2908 )
2024-09-12 16:14:16 +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
Jonas Platte
fdf83d0b73
Bring back the breaking changes readme section ( #2804 )
2024-09-11 20:42:15 +02:00
Jonas Platte
8b1cad656f
Bump nightly version used for ui tests ( #2805 )
2024-09-11 20:41:44 +02:00
Benjamin Sparks
6efcb75d99
Fix warnings and errors from beta Rust ( #2904 )
2024-09-09 18:55:15 +00:00
Joseph Lenton
1ac617a1b5
Add local_addr for Serve and WithGracefulShutdown ( #2881 )
2024-08-24 10:07:47 +02:00
Weipeng Hong
ef1448a3f5
Use env!("CARGO_CRATE_NAME")
in the example to simplify the tracing setup code ( #2884 )
2024-08-24 08:36:08 +02:00
holmofy
bd3eaa7886
ecosystem: Add spring-rs ( #2877 )
2024-08-17 15:17:32 +00:00
StNicolay
6f50c6ed4e
Made DefaultBodyLimit const friendly ( #2875 )
2024-08-16 04:12:35 -04:00
Baptiste Le Morlec
35c6f11c94
Add docs on using tokio task_local to share state ( #2769 )
2024-08-13 21:48:31 +00:00
sontixyou
52ae7bb904
Fix link of axum-sessions in ECOSYSTEM.md ( #2862 )
2024-08-10 10:26:47 +02:00
Benno van den Berg
6dfd0037bf
Upgrade tokio-tungstenite to 0.23 ( #2841 )
2024-08-09 20:41:01 +02:00
vsuryamurthy
dd5cbffb5d
Update extract doc mentioning optional extractors in axum-extra ( #2801 )
2024-08-09 20:31:39 +02:00
Yann Simon
c52bf9ebba
Add compression example ( #2623 )
2024-08-09 20:29:41 +02:00
Marco Di Pillo Tomic
179942d9cd
Update ECOSYSTEM.md ( #2861 )
2024-08-06 19:11:30 +02:00
redforks
8dc371e9a2
Update reqwest-response example ( #2852 )
2024-07-30 08:55:15 +02:00
Valerio Ageno
304cbee7c9
examples: Include headers into response in reqwest example ( #2812 )
2024-07-26 17:36:45 +00:00
Benno van den Berg
50274725cb
Resolve clippies ( #2843 )
2024-07-24 00:07:25 +02:00
Mohamed Eliwa
37e4574012
Fixing a typo in the documentation of with_state
method of Router, making it more clear ( #2838 )
2024-07-21 23:08:36 +02:00
Bittrance
205371a6b5
Clarify middleware::from_fn argument requirements ( #2834 )
2024-07-19 10:29:23 +02:00
AlphaKeks
74eac39e06
Fix clippy warning on FromRef
derive macro ( #2827 )
2024-07-09 23:08:59 +02:00
Konstantin Keller
905a1a72a3
docs: Add axum-postgres-template to ECOSYSTEM.md ( #2771 )
2024-07-04 21:57:25 +02:00
Chris Pick
035c8a36b5
Fix a few typos in docs and comments ( #2808 )
2024-06-27 08:45:57 +02:00
Chris Beck
4f3999c20f
Add Router::has_routes
( #2790 )
2024-06-22 21:31:22 +00:00
vsuryamurthy
670bf694dc
Remove unused dependency heck from axum-macros ( #2798 )
2024-06-21 14:08:38 +02:00
joeydewaal
fcb45b8d32
Add an Attachment type to axum-extra ( #2789 )
2024-06-19 14:28:15 +02:00
David Mládek
806bc26e62
CI: Pin nightly version for cargo public-api-crates
( #2779 )
2024-06-09 23:33: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
David Mládek
7d43b4651d
docs: Remove unnecessary link targets ( #2778 )
2024-06-09 23:20:35 +02:00
Jonas Platte
89202ac379
Replace own TowerToHyperService with upstream version ( #2692 )
2024-06-09 20:18:03 +02:00
Jonas Platte
34e11c50b5
Add Extension<NonCloneType> debug_handler ui test ( #2731 )
...
Co-authored-by: Logan Nielsen <loganbn@amazon.com>
2024-06-09 20:17:43 +02:00
Jonas Platte
80afd9253d
Add scope doc alias for Router::nest ( #2756 )
2024-06-09 20:15:31 +02:00
David Mládek
0a92e31a50
axum-extra: Log rejections of TypedHeader
( #2738 )
...
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2024-05-27 21:55:30 +00:00
chris
4452519689
Fix typo in serve-with-hyper example ( #2750 )
2024-05-27 12:17:07 -04:00
src_resources
8d0c5c05eb
Remove unnecessary parentheses in chat example ( #2732 )
2024-05-07 06:33:17 -04:00
joshuacaffey
87b86a7066
Fix typo in docs ( #2727 )
2024-05-02 18:34:09 -04:00
Yann Simon
df612fdc72
Add #[debug_middleware] ( #2725 )
...
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2024-05-02 17:27:12 -04:00
Martin Nordholts
c57c2847b2
route.md: Add wildcard example code ( #2569 )
...
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2024-05-02 19:13:08 +00:00
Jonas Platte
5201798d4e
Enable diagnostic attributes for Rust 1.78+ ( #2693 )
2024-04-30 11:05:38 -04:00
Afifurrohman
e3bb7083c8
ci: Bump crate-ci/typos
to v1.20.8 ( #2711 )
2024-04-16 02:56:01 -04:00
Chan Kang
b85bdc1be9
Fix comment spacing in websocket example
2024-04-11 07:57:11 -04:00
Liss Heidrich
50c035c20b
Add Serve::tcp_nodelay
( #2653 )
2024-04-01 23:26:18 +02:00
tison
dbd6178393
Upgrade reqwest to 0.12 ( #2688 )
...
Signed-off-by: tison <wander4096@gmail.com>
2024-03-29 08:34:56 +01:00
dakai-chen
ae8c43765d
Optimize deserialization of Path ( #2679 )
2024-03-27 08:51:48 +01:00
Shaobo Liu
6bd6556385
Fix typo in auto-reload example. ( #2680 )
2024-03-26 10:22:59 +01:00