Commit graph

1174 commits

Author SHA1 Message Date
David Pedersen
f9ea40bb44
Don't depend on axum-macros in examples (#2122) 2023-07-26 20:21:39 +02:00
kinrany
0151aeea54
docs: delete MatchedPath nesting section (#2121) 2023-07-26 16:05:42 +00:00
David Pedersen
5567d665d7
Fix typo (#2118) 2023-07-25 21:52:08 +02:00
Raphael Nestler
b20e66e79a
Remove unnecessary allow(dead_code) from testing example (#2117) 2023-07-25 17:30:19 +00:00
二手掉包工程师
7093cee0ac
Remove useless use prefix (#2106)
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
2023-07-19 09:34:29 +02:00
二手掉包工程师
d42b5f70cc
Remove useless #[allow(warnings)] (#2100)
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
2023-07-16 16:16:31 +02:00
David Pedersen
bb22802bfc
Update to latest sqlx in example (#2099) 2023-07-16 13:49:53 +02:00
David Pedersen
4290955cf0 Add missing changes to changelog 2023-07-16 12:54:53 +02:00
David Pedersen
a0db77a900
Fix bugs around merging routers with nested fallbacks (#2096) 2023-07-16 10:06:58 +00:00
David Pedersen
6f7ff85565
Fix example for accessing inner extrator errors (#2095) 2023-07-16 01:40:31 +02:00
David Pedersen
b34715fe81
Update to hyper 1.0.0-rc.4 (#2094) 2023-07-15 15:38:38 +00:00
Christian Stefanescu
5d96ca9fcd
Add randoku to project showcase (#2092)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-07-14 23:03:20 +00:00
二手掉包工程师
5503b3236b
Fix CI (#2086)
- Use exactly version 1.0.0-rc.3 of hyper
- Update expected output of UI tests
- Fix clippy lints

Signed-off-by: hi-rustin <rustin.liu@gmail.com>
2023-07-13 16:53:22 +02:00
z-o-n-n-e
bc8e879d7b
Fix typo in docs (#2080) 2023-07-09 22:00:01 +02:00
Rodrigo Santiago
b80d126137
Remove bitflags crate dependency (#2073)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-07-05 20:08:11 +00:00
Rodrigo Santiago
8cb11e7f94
Remove unwraps via '?' with anyhow crate for example-oauth (#2069) 2023-07-04 19:48:58 +00:00
jachii
0ed02a9a46
Add axum::extract::Query::try_from_uri (#2058)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-07-03 07:35:59 +00:00
David Pedersen
cc9629fe88 Fix some typos in the docs 2023-07-03 09:23:37 +02:00
David Pedersen
f4accdc95d Remove unwrap from example-stream-to-file 2023-07-01 23:12:23 +02:00
David Pedersen
99e8828df5 Remove unwrap from example-reverse-proxy 2023-07-01 23:12:23 +02:00
David Pedersen
b1b0e45683 Remove sessions example
There are better libraries these days for doing sessions with axum. So
think this example was just causing more confusion than helping.
2023-07-01 23:12:20 +02:00
Alexander van Ratingen
adb387a370
Implement IntoResponse for boxed slices (#2035) 2023-06-26 11:14:28 +00:00
Alexey Timin
466cfcddf7
Add ReductStore to show cases (#1999) 2023-06-23 00:06:53 +02:00
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