Commit graph

557 commits

Author SHA1 Message Date
David Pedersen
6641e93b0b
Mention updated dependencies in changelog (#2359) 2023-11-27 13:50:38 +01:00
David Pedersen
89bba9489a Note which crates in our public API are 1.0
So we know at least which other crates have to 1.0 before axum can be,
or which we have to remove from our public API.
2023-11-27 11:53:05 +01:00
David Pedersen
773bb5db69 axum 0.7.1
Forgot that the readme is shown on crates.io and don't want the
paragraph about "The main branch has unpublished, breaking changes".
2023-11-27 10:56:49 +01:00
David Pedersen
db344fab3f The main branch no longer contains breaking changes 🎉 2023-11-27 09:34:16 +01:00
David Pedersen
b7d14d3602
Release axum 0.7 (#2354) 2023-11-27 09:30:38 +01:00
David Pedersen
15781fe22b
Prepare serve for potentially supporting graceful shutdown (#2357) 2023-11-26 12:21:35 +00:00
David Pedersen
1a78e093ed
Apply changelog changes from 0.6 branch to main (#2353) 2023-11-25 20:44:07 +01:00
tottoto
a9ac5241dc
Only enable hyper dependency when needed (#2350) 2023-11-25 00:07:51 +01:00
Guillermo Lloret Talavera
2402d4604b
Add handle_error to ServiceExt (#2235) 2023-11-24 16:36:04 +01:00
David Pedersen
20862d42f5
Add example showing how to use hyper's low level API (#2338) 2023-11-23 13:39:01 +01:00
David Pedersen
ff9764574c
Implement FromRequestParts for Parts and Extensions (#2328) 2023-11-23 11:30:23 +00:00
David Pedersen
43b14a5f02
Update to latest versions of hyper and http-body (#1882)
Co-authored-by: Michael Scofield <mscofield0@tutanota.com>
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2023-11-23 11:03:03 +00:00
Joel Uckelman
6e984b754a
Improve documentation of Path (#2314) 2023-11-18 12:37:39 +00:00
Emil Gardström
f7a0011ea5
explain that Router::merge only merges paths and fallback (#2316)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2023-11-18 12:36:25 +00:00
wayne
0c7ff7c76b
Json: add from_bytes method, use that in 'impl FromRequest' (#2244)
Signed-off-by: wayne warren <wayne.warren.s@gmail.com>
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
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
nectarine
68288ef44f
Replace reference to multiple with singular in docs. (#2285)
Co-authored-by: Fred Cook <fredcook789@gmail.com>
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 <wayne.warren.s@gmail.com>
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
ttys3
268ba08e8e
Add space between SSE field and value for compatibility (#2149)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
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 <rustin.liu@gmail.com>
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 <rustin.liu@gmail.com>
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 Butler
a6a849bb5b
Update tokio-tungstenite 0.20 (#2116)
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
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 <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
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 <rustin.liu@gmail.com>
2023-07-13 16:53:22 +02:00