Commit Graph
495 Commits
Author SHA1 Message Date
Joel Uckelman 6e984b754a Improve documentation of Path (#2314) 2023-11-18 12:37:39 +00:00
Emil GardströmandDavid Pedersen f7a0011ea5 explain that Router::merge only merges paths and fallback (#2316)
Co-authored-by: David Pedersen <[email protected]>
2023-11-18 12:36:25 +00:00
wayneandJonas Platte 0c7ff7c76b Json: add from_bytes method, use that in 'impl FromRequest' (#2244)
Signed-off-by: wayne warren <[email protected]>
Co-authored-by: Jonas Platte <[email protected]>
2023-11-18 13:29:57 +01:00
Jonas Platte e84d563b26 Improve documentation of axum::Form (#2289) 2023-10-26 06:37:19 +09:00
nectarineandFred Cook 68288ef44f Replace reference to multiple with singular in docs. (#2285)
Co-authored-by: Fred Cook <[email protected]>
2023-10-23 15:10:54 +09:00
Rakshith Ravi 8854e660e9 Add HTTP/1 and HTTP/2 to axum::serve (#2241) 2023-10-01 10:46:22 +02:00
Yuri Astrakhan 17993c5717 A few clippy inspired changes (#2233) 2023-09-29 07:28:57 +00:00
Georg Semmler 2f6200dfbd Use the diagnostic namespace (#2246) 2023-09-29 09:25:26 +02:00
wayne 930e2ab7c1 axum::body no longer pulls in axum::body::stream_body (#2245)
Signed-off-by: wayne warren <[email protected]>
2023-09-29 05:52:26 +00:00
Yuri Astrakhan 786329d85d Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
David Pedersen a9822ec80b Use tower-http's TimeoutLayer (#2231) 2023-09-17 18:02:22 +02:00
David Pedersen 9eb502c768 Use tuples instead of ServiceBuilder internally (#2229) 2023-09-17 10:56:47 +02:00
David Pedersen 20f48af914 Add NestedPath (#1924) 2023-09-17 10:32:23 +02:00
ttys3andDavid Pedersen 268ba08e8e Add space between SSE field and value for compatibility (#2149)
Co-authored-by: David Pedersen <[email protected]>
2023-09-16 19:47:28 +00:00
Olaf Alders 503d31976f Use "set up" rather than "setup" when used as a verb 2023-09-08 16:13:36 +00:00
Jonas Platte 11b24f7898 Remove redundant bindings 2023-08-22 12:22:45 +02:00
二手掉包工程师 52a9039019 Remove useless commented code (#2178)
Signed-off-by: hi-rustin <[email protected]>
2023-08-16 14:35:43 +00:00
Jonas Platte e84a67e568 Fix documentation for MethodRouter::into_make_service (#2176) 2023-08-15 15:26:53 +00:00
Daniel Pauls 483ba7d5b5 Don't create a RouteId if routes can be merged (#2174) 2023-08-14 22:38:13 +02:00
二手掉包工程师 f7988398d0 Remove redundant space in the comment (#2172)
Signed-off-by: hi-rustin <[email protected]>
2023-08-14 08:23:39 +02:00
Max edfb1cece3 Clarify documentation about route_layer (#2154) 2023-08-08 11:40:38 +00:00
David Pedersen 54e203cd51 Clearly document applying DefaultBodyLimit to individual routes (#2157) 2023-08-08 09:57:55 +00:00
Jonas Platte 34d1fbc052 Fix typos found by crate-ci/typos 2023-08-08 11:27:45 +02:00
Jonas Platte ff3884aa41 Silence error from enabling nightly_error_messages 2023-08-08 11:27:45 +02:00
David Pedersen cc611b8b24 Implement IntoResponse for (R,) where R: IntoResponse (#2143) 2023-08-03 18:15:06 +00:00
Jonas Platte 432289dd04 Replace :emoji: codes with the actual emoji (#2144) 2023-08-03 08:23:18 +00:00
David Pedersen 2138489ce5 Implement Handler for T: IntoResponse (#2140) 2023-08-02 21:17:12 +02:00
Kristopher Wuollett e4865e17fa Add empty path capture docs and tests (#2127) 2023-08-02 20:57:15 +02:00
Alex ButlerandJonas Platte a6a849bb5b Update tokio-tungstenite 0.20 (#2116)
Co-authored-by: Jonas Platte <[email protected]>
2023-08-02 09:38:56 +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
二手掉包工程师 7093cee0ac Remove useless use prefix (#2106)
Signed-off-by: hi-rustin <[email protected]>
2023-07-19 09:34:29 +02:00
二手掉包工程师 d42b5f70cc Remove useless #[allow(warnings)] (#2100)
Signed-off-by: hi-rustin <[email protected]>
2023-07-16 16:16:31 +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
二手掉包工程师 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 <[email protected]>
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 SantiagoandDavid Pedersen b80d126137 Remove bitflags crate dependency (#2073)
Co-authored-by: David Pedersen <[email protected]>
2023-07-05 20:08:11 +00:00
jachiiandDavid Pedersen 0ed02a9a46 Add axum::extract::Query::try_from_uri (#2058)
Co-authored-by: David Pedersen <[email protected]>
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
Alexander van Ratingen adb387a370 Implement IntoResponse for boxed slices (#2035) 2023-06-26 11:14:28 +00:00
Alex ButlerandDavid Pedersen 26daec2b17 Update tokio-tungstenite to 0.19 (#2021)
Co-authored-by: David Pedersen <[email protected]>
2023-06-23 00:03:30 +02:00
WowksterandDavid Pedersen 8016e7890c docs: add note about large file multipart uploads (#2025)
Co-authored-by: David Pedersen <[email protected]>
2023-06-22 23:59:39 +02:00
Vitaly ShukelaandDavid Pedersen 8dae97a5e8 docs: Add links to more examples of Result-returning handlers. (#2049)
Co-authored-by: David Pedersen <[email protected]>
2023-06-22 23:41:13 +02:00
mohad12211andDavid Pedersen 652d65aabc docs: update router::route multiple methods docs (#2051)
Co-authored-by: David Pedersen <[email protected]>
2023-06-22 21:36:37 +00:00
Cyril MarpaudandDavid Pedersen c26dcd90b3 Fix a typo in axum::middleware (#2056)
Co-authored-by: David Pedersen <[email protected]>
2023-06-22 21:34:38 +00:00
Azzam S.A 8374c3e789 docs: add warning icon for extractor order (#2027) 2023-06-05 12:05:53 +02:00
Jerry Wang 59d6a7b31a Fix a typo in axum::extract::rejection::FailedToDeserializeQueryString documentation (#2009) 2023-05-19 10:37:21 +02:00