Commit Graph
527 Commits
Author SHA1 Message Date
David Pedersen 7ea7e9f618 Use IntoFuture for test RequestBuilder (#2470) 2023-12-30 18:23:53 +01:00
David Pedersen 046e7299e1 Fix out of date links to error-handling example (#2467) 2023-12-30 16:37:57 +01:00
David Pedersen fe89ab5592 Release (#2461) 2023-12-29 17:47:06 +01:00
Bryan Burgers b494d455cc Implement Clone for RouterIntoService (#2456) 2023-12-29 14:13:36 +00:00
Dotan J. Nahum 560213a7b7 docs: add clarification about building middleware and error types (#2448) 2023-12-29 14:19:16 +01:00
David Pedersen ea6dd51e98 Enable tracing by default (#2460) 2023-12-29 13:44:20 +01:00
David Pedersen 12e8c6219d Support graceful shutdown on serve (#2398) 2023-12-29 11:17:58 +00:00
future-highway 56159b0d4e JsonDeserializer extractor for zero-copy deserialization (#2431) 2023-12-29 12:06:47 +01:00
Hydrogen602 6c276c3ff0 Updated docs regarding constraints of Handler arguments (#2451) 2023-12-29 01:48:14 +01:00
Fujiwara Takumi 3fda093806 Use separate lexical scope for lock guard in docs (#2439) 2023-12-19 16:21:24 +00:00
Tobias Bieniek 212d959a54 Body: Implement From<()> (#2411) 2023-12-19 10:51:38 +01:00
Fujiwara Takumi 2f585ac9b7 Upgrade tokio-tungstenite to 0.21 (#2435) 2023-12-18 15:13:35 +01:00
Fujiwara TakumiandDavid Pedersen 584c328bb0 Unnecessary BytesMut (#2414)
Co-authored-by: David Pedersen <[email protected]>
2023-12-17 11:35:46 +00:00
David Pedersen 72ccde5900 Update multer (#2433) 2023-12-17 11:31:38 +00:00
David Pedersen ab36eda6aa Release axum and axum-core (#2402) 2023-12-04 09:16:15 +01:00
David PedersenandJonas Platte ef5663674c Gracefully handle accept errors in serve (#2400)
Co-authored-by: Jonas Platte <[email protected]>
2023-12-02 18:04:05 +00:00
EthraandDavid Pedersen 3c7cf81840 Add utility function to convert body into bytes (#2373)
Co-authored-by: David Pedersen <[email protected]>
2023-11-29 11:31:15 +01:00
Yumin Wu b13b9d2288 Remove unused imports in readme example (#2367) 2023-11-28 18:29:10 +01:00
Keita Nonaka 6dd5d0be9d fix: back to forbid unsafe (#2365) 2023-11-28 12:00:57 +01:00
Joel Uckelman c9477282e7 Clarify headers feature change in changelog (#2360) 2023-11-27 14:10:04 +00:00
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
43b14a5f02 Update to latest versions of hyper and http-body (#1882)
Co-authored-by: Michael Scofield <[email protected]>
Co-authored-by: Jonas Platte <[email protected]>
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ö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