1
0
Fork 0
mirror of https://github.com/tokio-rs/axum.git synced 2025-01-27 18:29:06 +01:00
Commit graph

1139 commits

Author SHA1 Message Date
Jerry Wang
7208cdf795
Fix the cargo hack check () 2023-05-18 18:40:19 +00:00
Matt Fellenz
b0eb7a24bc
Fix localhost vs 0.0.0.0 discrepancy () 2023-05-03 21:17:18 +00:00
David Pedersen
b663072504
Don't remove the Sec-WebSocket-Key header in WebSocketUpgrade () 2023-04-30 11:54:41 +02:00
Eric Seppanen
ce7739e76d
Fix typo in json_lines.rs () 2023-04-29 07:49:21 +02:00
David Pedersen
c7d4af9bd8
Fix fallback panic on CONNECT requests () 2023-04-25 16:01:39 +02:00
David Pedersen
d1765d9a00
Don't inherit fallbacks when using Router::nest_service () 2023-04-22 16:19:32 +02:00
David Pedersen
db300efc33
Remove impl Connected<&AddrStream> for SocketAddr () 2023-04-21 18:24:47 +02:00
David Pedersen
c378211b12 Allow duplicate regex-syntax in examples 2023-04-21 17:45:31 +02:00
David Pedersen
4d5035faf8 Use Request type alias in new files 2023-04-21 17:45:31 +02:00
David Pedersen
877e3fe4de Move TypedHeader to axum-extra ()
Co-authored-by: Michael Scofield <mscofield0@tutanota.com>
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2023-04-21 17:45:31 +02:00
David Pedersen
173f9f72b0 Remove IntoResponse for http-body types () 2023-04-21 17:45:31 +02:00
David Pedersen
c97967252d Add serve function and remove Server re-export () 2023-04-21 17:45:31 +02:00
David Pedersen
6703f8634c Remove B type param: Follow ups ()
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
Co-authored-by: Michael Scofield <mscofield0@tutanota.com>
2023-04-21 17:45:31 +02:00
David Pedersen
72c1b7a80c Add Body::from_stream () 2023-04-21 17:45:31 +02:00
David Pedersen
4e4c29175f Remove B type param ()
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
Co-authored-by: Michael Scofield <mscofield0@tutanota.com>
2023-04-21 17:45:31 +02:00
Michael Scofield
9be0ea934c Fix typo in extract::ws ()
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-04-21 17:45:31 +02:00
David Pedersen
3ba74aa2f5 Change sse::Event::json_data to use axum_core::Error as its error type () 2023-04-21 17:45:31 +02:00
David Pedersen
e1eb7d6615 Add axum_core::body::Body () 2023-04-21 17:45:31 +02:00
David Pedersen
97885484dd Add note about main having breaking changes 2023-04-21 17:44:27 +02:00
Kamil Rojewski
287ae644dc
Add springtime-web-axum to ECOSYSTEM.md () 2023-04-21 15:40:08 +02:00
David Pedersen
c31bea2f96
Release axum and axum-extra () 2023-04-18 20:40:42 +02:00
David Pedersen
994492d427
Add test for not hitting debug_assert in MatchedPath () 2023-04-17 13:46:54 +02:00
David Pedersen
b42897f2dc
Document that Router::new().fallback(...) isn't optimal () 2023-04-17 13:41:53 +02:00
David Pedersen
2c87d65f17
Don't allow extracting MatchedPath in fallbacks () 2023-04-17 13:20:54 +02:00
David Pedersen
e97462d452
Add Html, Css, JavaScript, and Wasm response types () 2023-04-17 13:20:17 +02:00
tottoto
018d65da14
Use axum-macros/rust-toolchain file in ci () 2023-04-17 10:55:18 +02:00
tottoto
de7dc69eeb
Resolve ci warnings () 2023-04-15 17:02:47 +02:00
tottoto
7219fd8df5
Update ci config to setup rust () 2023-04-15 09:46:43 +02:00
David Pedersen
39bb28130d
Enable println warning () 2023-04-14 22:26:56 +02:00
David Pedersen
377d73a55b Add basic merge and nest benchmarks 2023-04-12 19:14:16 +02:00
David Pedersen
cf1ed9bb54
Release axum 0.6.15 () 2023-04-12 09:36:17 +02:00
David Pedersen
8b22b94582 Remove "PathDeserializationError" debug message 2023-04-12 09:19:00 +02:00
Andrew Silver
31aed243d9
Remove "NotFound hit" debug message () 2023-04-11 23:38:21 +02:00
David Pedersen
b92b91e75e
Release axum 0.6.14 () 2023-04-11 19:38:22 +02:00
Andrew Silver
21d496ddb1
Removed leftover "path_router hit" debug message () 2023-04-11 17:02:19 +00:00
David Pedersen
51edc9c895
Release () 2023-04-11 17:23:38 +02:00
David Pedersen
6b106f4bab
Log built-in rejections () 2023-04-11 16:57:49 +02:00
David Pedersen
2c2cf361dd
Change Router::nest to flatten the routes ()
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2023-04-11 16:17:54 +02:00
David Pedersen
14d2b2dc87 Add tutorials to ECOSYSTEM.md 2023-04-11 10:37:22 +02:00
David Pedersen
4db9b6eb81 add missing changelog link 2023-04-10 09:23:55 +02:00
David Pedersen
352cf9a266
Implement Deref and DerefMut for built-in extractors () 2023-04-10 07:18:35 +00:00
Jonas Platte
43b2d52403
Add OptionalPath extractor ()
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-04-09 12:23:13 +00:00
J
946d8c3253
Fix a typo inside handlers_intro.md () 2023-04-09 08:08:58 +02:00
David Pedersen
24f8dc53f4
Update rest-grpc-multiplex example to include reflection () 2023-04-01 20:49:36 +02:00
gongzhengyang
0096fa6e1e
Add axum-restful to ECOSYSTEM.md () 2023-04-01 09:19:25 +02:00
Georg Semmler
9da1897688
Add a diesel and diesel-async example ()
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-03-28 17:32:00 +02:00
David Pedersen
9b1f1a907b
Update allowed crates in public API () 2023-03-27 17:12:19 +02:00
Lukas Potthast
8f6bfa3914
Add axum-keycloak-auth to ECOSYSTEM.md () 2023-03-26 17:10:00 +02:00
Jonas Platte
eec4195eac
Fix broken links in the documentation () 2023-03-23 14:55:56 +00:00
Roman Zaynetdinov
4a02ab3ed8
Use State extractor in WS module docs () 2023-03-23 13:24:02 +01:00