1142 Commits

Author SHA1 Message Date
David Pedersen
32267d85b8 Fix bugs around merging routers with nested fallbacks (#2096) 2023-07-17 09:38:08 +02:00
David Pedersen
c3b343e5ae Fix example for accessing inner extrator errors (#2095) 2023-07-17 09:38:08 +02:00
z-o-n-n-e
0da7f6ee2d Fix typo in docs (#2080) 2023-07-17 09:38:08 +02:00
jachii
8b36dd6d83 Add axum::extract::Query::try_from_uri (#2058)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-07-17 09:38:08 +02:00
David Pedersen
74758f61c8 Fix some typos in the docs 2023-07-17 09:38:08 +02:00
Alexander van Ratingen
03da6db167 Implement IntoResponse for boxed slices (#2035) 2023-07-17 09:38:08 +02:00
Alex Butler
dadb14689a Update tokio-tungstenite to 0.19 (#2021)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-07-17 09:38:08 +02:00
Alexander Jackson
21fb5f4d22 Allow unreachable code in #[debug_handler] (#2014)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-07-17 09:38:08 +02:00
Asger Hautop Drewsen
078c7ca65b docs: Remove explicit auto deref from PrivateCookieJar example (#2028)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-07-17 09:38:08 +02:00
Sabrina Jewson
87b87f317d Fix .source() of composite rejections (#2030)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-07-17 09:38:08 +02:00
Vitaly Shukela
15889ce709 docs: Add links to more examples of Result-returning handlers. (#2049)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-07-17 09:38:08 +02:00
mohad12211
e29787d13f docs: update router::route multiple methods docs (#2051)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-07-17 09:38:08 +02:00
Cyril Marpaud
fc3210b563 Fix a typo in axum::middleware (#2056)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-07-17 09:38:08 +02:00
Azzam S.A
dc8491b11b docs: add warning icon for extractor order (#2027) 2023-07-17 09:38:08 +02:00
Jerry Wang
057e099f4c Fix a typo in axum::extract::rejection::FailedToDeserializeQueryString documentation (#2009) 2023-07-17 09:38:08 +02:00
David Pedersen
76abf73f1c Update diesel-async 2023-07-16 00:00:22 +02:00
David Pedersen
4109796fff Update to hyper 1.0.0-rc.4 2023-07-15 23:58:45 +02:00
David Pedersen
79ea2747e9
Release axum 0.6.18 (#1973) axum-v0.6.18 2023-04-30 13:36:14 +02:00
David Pedersen
9c5f4ebe03 Don't remove the Sec-WebSocket-Key header in WebSocketUpgrade (#1972) 2023-04-30 11:55:39 +02:00
David Pedersen
b7baac2638
Release axum 0.6.17 (#1962) axum-v0.6.17 2023-04-25 15:55:33 +02:00
David Pedersen
d22c168830
Fix fallback panic on CONNECT requests (#1958) 2023-04-25 15:44:29 +02:00
David Pedersen
5f51b5b056
Fix cargo deny (#1959) 2023-04-25 11:13:18 +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) axum-v0.6.16 axum-extra-v0.7.4 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) axum-v0.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 (#1927) 2023-04-11 23:38:21 +02:00
David Pedersen
b92b91e75e
Release axum 0.6.14 (#1926) axum-v0.6.14 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) axum-extra-v0.7.3 axum-core-v0.3.4 axum-v0.6.13 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
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 (#1922) 2023-04-10 07:18:35 +00:00
Jonas Platte
43b2d52403
Add OptionalPath extractor (#1889)
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 (#1919) 2023-04-09 08:08:58 +02:00
David Pedersen
24f8dc53f4
Update rest-grpc-multiplex example to include reflection (#1902) 2023-04-01 20:49:36 +02:00
gongzhengyang
0096fa6e1e
Add axum-restful to ECOSYSTEM.md (#1901) 2023-04-01 09:19:25 +02:00
Georg Semmler
9da1897688
Add a diesel and diesel-async example (#1853)
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 (#1888) 2023-03-27 17:12:19 +02:00