Commit graph

1401 commits

Author SHA1 Message Date
Alex Butler
26daec2b17
Update tokio-tungstenite to 0.19 (#2021)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-06-23 00:03:30 +02:00
Wowkster
8016e7890c
docs: add note about large file multipart uploads (#2025)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-06-22 23:59:39 +02:00
Alexander Jackson
68696b09b1
Allow unreachable code in #[debug_handler] (#2014)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-06-22 21:51:52 +00:00
Asger Hautop Drewsen
40da647620
docs: Remove explicit auto deref from PrivateCookieJar example (#2028)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-06-22 21:50:45 +00:00
Sabrina Jewson
3c514ab0b4
Fix .source() of composite rejections (#2030)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-06-22 23:46:39 +02:00
Vitaly Shukela
8dae97a5e8
docs: Add links to more examples of Result-returning handlers. (#2049)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-06-22 23:41:13 +02:00
mohad12211
652d65aabc
docs: update router::route multiple methods docs (#2051)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-06-22 21:36:37 +00:00
Cyril Marpaud
c26dcd90b3
Fix a typo in axum::middleware (#2056)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-06-22 21:34:38 +00:00
David Pedersen
b7665b209a
Fix CI (#2054) 2023-06-22 23:20:46 +02:00
Azzam S.A
8374c3e789
docs: add warning icon for extractor order (#2027) 2023-06-05 12:05:53 +02:00
Joshua Mo
eafee2d2f4
docs: add new entry to ECOSYSTEM.md (#2018) 2023-05-24 15:08:33 +00:00
Jerry Wang
59d6a7b31a
Fix a typo in axum::extract::rejection::FailedToDeserializeQueryString documentation (#2009) 2023-05-19 10:37:21 +02:00
Jerry Wang
7208cdf795
Fix the cargo hack check (#2013) 2023-05-18 18:40:19 +00:00
Matt Fellenz
b0eb7a24bc
Fix localhost vs 0.0.0.0 discrepancy (#1984) 2023-05-03 21:17:18 +00:00
David Pedersen
b663072504
Don't remove the Sec-WebSocket-Key header in WebSocketUpgrade (#1972) 2023-04-30 11:54:41 +02:00
Eric Seppanen
ce7739e76d
Fix typo in json_lines.rs (#1970) 2023-04-29 07:49:21 +02:00
David Pedersen
c7d4af9bd8
Fix fallback panic on CONNECT requests (#1963) 2023-04-25 16:01:39 +02:00
David Pedersen
d1765d9a00
Don't inherit fallbacks when using Router::nest_service (#1956) 2023-04-22 16:19:32 +02:00
David Pedersen
db300efc33
Remove impl Connected<&AddrStream> for SocketAddr (#1954) 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 (#1850)
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 (#1877) 2023-04-21 17:45:31 +02:00
David Pedersen
c97967252d Add serve function and remove Server re-export (#1868) 2023-04-21 17:45:31 +02:00
David Pedersen
6703f8634c Remove B type param: Follow ups (#1789)
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 (#1848) 2023-04-21 17:45:31 +02:00
David Pedersen
4e4c29175f Remove B type param (#1751)
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 (#1664)
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 (#1762) 2023-04-21 17:45:31 +02:00
David Pedersen
e1eb7d6615 Add axum_core::body::Body (#1584) 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 (#1949) 2023-04-21 15:40:08 +02:00
David Pedersen
c31bea2f96
Release axum and axum-extra (#1942) 2023-04-18 20:40:42 +02:00
David Pedersen
994492d427
Add test for not hitting debug_assert in MatchedPath (#1935) 2023-04-17 13:46:54 +02:00
David Pedersen
b42897f2dc
Document that Router::new().fallback(...) isn't optimal (#1940) 2023-04-17 13:41:53 +02:00
David Pedersen
2c87d65f17
Don't allow extracting MatchedPath in fallbacks (#1934) 2023-04-17 13:20:54 +02:00
David Pedersen
e97462d452
Add Html, Css, JavaScript, and Wasm response types (#1921) 2023-04-17 13:20:17 +02:00
tottoto
018d65da14
Use axum-macros/rust-toolchain file in ci (#1939) 2023-04-17 10:55:18 +02:00
tottoto
de7dc69eeb
Resolve ci warnings (#1938) 2023-04-15 17:02:47 +02:00
tottoto
7219fd8df5
Update ci config to setup rust (#1937) 2023-04-15 09:46:43 +02:00
David Pedersen
39bb28130d
Enable println warning (#1929) 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 (#1928) 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 (#1927) 2023-04-11 23:38:21 +02:00
David Pedersen
b92b91e75e
Release axum 0.6.14 (#1926) 2023-04-11 19:38:22 +02:00
Andrew Silver
21d496ddb1
Removed leftover "path_router hit" debug message (#1925) 2023-04-11 17:02:19 +00:00
David Pedersen
51edc9c895
Release (#1923) 2023-04-11 17:23:38 +02:00
David Pedersen
6b106f4bab
Log built-in rejections (#1890) 2023-04-11 16:57:49 +02:00
David Pedersen
2c2cf361dd
Change Router::nest to flatten the routes (#1711)
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2023-04-11 16:17:54 +02:00