Commit Graph
438 Commits
Author SHA1 Message Date
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
6703f8634c Remove B type param: Follow ups (#1789)
Co-authored-by: Jonas Platte <[email protected]>
Co-authored-by: Michael Scofield <[email protected]>
2023-04-21 17:45:31 +02:00
David Pedersen 72c1b7a80c Add Body::from_stream (#1848) 2023-04-21 17:45:31 +02:00
4e4c29175f Remove B type param (#1751)
Co-authored-by: Jonas Platte <[email protected]>
Co-authored-by: Michael Scofield <[email protected]>
2023-04-21 17:45:31 +02:00
Michael ScofieldandDavid Pedersen 9be0ea934c Fix typo in extract::ws (#1664)
Co-authored-by: David Pedersen <[email protected]>
2023-04-21 17:45:31 +02:00
David Pedersen 3ba74aa2f5 Change sse::Event::json_data to use axum_core::Error as its error type (#1762) 2023-04-21 17:45:31 +02:00
David Pedersen 97885484dd Add note about main having breaking changes 2023-04-21 17:44:27 +02:00
David Pedersen c31bea2f96 Release axum and axum-extra (#1942) 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 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) 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) 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) 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 PedersenandJonas Platte 2c2cf361dd Change Router::nest to flatten the routes (#1711)
Co-authored-by: Jonas Platte <[email protected]>
2023-04-11 16:17:54 +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 PlatteandDavid Pedersen 43b2d52403 Add OptionalPath extractor (#1889)
Co-authored-by: David Pedersen <[email protected]>
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 9b1f1a907b Update allowed crates in public API (#1888) 2023-03-27 17:12:19 +02:00
Jonas Platte eec4195eac Fix broken links in the documentation (#1878) 2023-03-23 14:55:56 +00:00
Roman Zaynetdinov 4a02ab3ed8 Use State extractor in WS module docs (#1880) 2023-03-23 13:24:02 +01:00
Andrew Morgan b314cd9bc2 Fix a small grammatical error in the Extract docs (#1876) 2023-03-22 17:34:12 +00:00
David Pedersen 562fa206f0 Release axum, axum-extra, axum-macros (#1875) 2023-03-22 15:22:47 +01:00
David Pedersen 3fb67bf79d Update changelog 2023-03-22 14:35:06 +01:00
David Pedersen a0af61ea46 More clearly document what wildcards matches (#1873) 2023-03-22 10:48:23 +00:00
David Pedersen 03e8bc77f1 Implement IntoResponse for MultipartError (#1861) 2023-03-21 08:24:06 +00:00
David Pedersen 8e1eb8979f Update to syn 2 (#1862) 2023-03-18 19:23:27 +00:00
David Pedersen 1133425d6b Release axum, axum-macros, and axum-extra (#1843) 2023-03-13 11:00:13 +01:00
David Pedersen fe9c4a0b5b Clone state a bit less (#1837) 2023-03-12 14:43:22 +00:00
Jonas Platte f65fa22f34 Improve tower-http doc links (#1842) 2023-03-12 11:15:58 +01:00
tottoto 5793e75aac Change tower-http to optional (#1838) 2023-03-10 17:23:50 +01:00
David Pedersen 5c11c5c44d Print prev_route_id in impl Debug for Router 2023-03-10 12:30:08 +01:00
David Pedersen e56e1b3e69 Don't require S: Debug for impl Debug for Router<S> (#1836) 2023-03-10 11:14:40 +00:00
Alex Butler f9f64a3ecd Unpin itoa dependency (#1815) 2023-03-05 14:28:10 +01:00
David Pedersen bc3c35ea5a Release all the crates (#1812) 2023-03-03 18:16:24 +01:00
Ingvar StepanyanandDavid Pedersen fd96bce34d Gracefully handle missing headers (#1810)
Co-authored-by: David Pedersen <[email protected]>
2023-03-03 15:35:49 +01:00
David Pedersen 5606ea3f9e #[must_use] all the things! (#1809) 2023-03-03 14:12:35 +01:00
David Pedersen 5a58edac16 Fix routing issues when loading a Router via a dynamic library (#1806) 2023-03-03 13:23:53 +01:00
Jonas PlatteandDavid Pedersen 43883b8d9b Replace weird doc paragraph by compiler-checked must_use attribute (#1801)
Co-authored-by: David Pedersen <[email protected]>
2023-03-03 08:54:38 +00:00
sharkspear94 73be489e03 Fixed small typo (#1804) 2023-03-03 09:43:24 +01:00
Rob 68bf8ed7fc Update documentation for FailedToDeserializeQueryString response type (#1795) 2023-02-27 22:29:39 +00:00
Spencer Bartholomew 6067223fcc update tokio dep to fix potential security vulnerability (#1787) 2023-02-27 18:40:03 +01:00