Commit Graph
100 Commits
Author SHA1 Message Date
David PedersenandGitHub d97edd2eb3 chore: write changelogs manually (#3764) 2026-05-18 10:38:29 +02:00
David PedersenandGitHub 5bc0046084 chore: fix typos (#3758) 2026-05-15 12:32:46 +00:00
David PedersenandGitHub c8276951b0 feat: Add RawPathParams::from_request_extensions (#3757) 2026-05-15 12:46:49 +02:00
David Pedersen c853e44ffc chore: use a more recent nightly for axum-macros tests 2026-05-05 15:16:24 +02:00
David PedersenandGitHub 986abe8df6 refactor: remove duplication between IntoResponse and IntoResponseParts for Redirect (#3743) 2026-05-02 19:19:13 +02:00
David PedersenandGitHub 9f4d52e310 remove ECOSYSTEM.md (#3737) 2026-04-27 15:09:02 +00:00
52fd139a86 Require Sync for services (#2473)
Co-authored-by: Jonas Platte <[email protected]>
2024-09-28 23:28:44 +02:00
David PedersenandGitHub d7b852896d Fix changelog link (#2677) 2024-03-25 08:00:19 +01:00
David PedersenandGitHub ef8a9e812c Release axum and axum-extra (#2676) 2024-03-24 20:17:10 +01:00
David PedersenandGitHub 19f6f7900f Fix layers being cloned for each request (#2586) 2024-03-14 21:24:32 +01:00
David PedersenandGitHub 358f196810 Add note about missing CSRF validation in oauth example (#2512) 2024-01-13 15:37:03 +01:00
David PedersenandGitHub 9ebd105d04 Release (#2510) 2024-01-13 14:31:03 +01:00
45116730c6 Internally Arc Router, without breaking changes (#2483)
Co-authored-by: Jonas Platte <[email protected]>
2024-01-13 12:44:32 +00:00
David PedersenandGitHub d3112a40d5 Re-export BodyDataStream from axum (#2509) 2024-01-11 21:56:22 +01:00
David PedersenandGitHub c486cc8207 Implement TypedPath for WithRejection<TypedPath, _> (#2491) 2024-01-04 21:08:20 +01:00
David PedersenandGitHub 71eedc6d6c Add websocket integration test (#2477) 2023-12-31 11:14:26 +01:00
David Pedersen 48d169016a Update example-tls-graceful-shutdown
Was just a matter of updating axum-server
2023-12-31 00:18:55 +01:00
David PedersenandGitHub 85573e0573 impl IntoResponseParts for () (#2471) 2023-12-30 17:47:22 +00:00
David PedersenandGitHub 7ea7e9f618 Use IntoFuture for test RequestBuilder (#2470) 2023-12-30 18:23:53 +01:00
David PedersenandGitHub 3b43b257e7 Add dependency injection example (#2466) 2023-12-30 18:11:33 +01:00
David PedersenandGitHub 046e7299e1 Fix out of date links to error-handling example (#2467) 2023-12-30 16:37:57 +01:00
David Pedersen 5d388c8d91 Remove outdated comment 2023-12-29 17:51:14 +01:00
David PedersenandGitHub fe89ab5592 Release (#2461) 2023-12-29 17:47:06 +01:00
David PedersenandGitHub ea6dd51e98 Enable tracing by default (#2460) 2023-12-29 13:44:20 +01:00
David PedersenandGitHub 12e8c6219d Support graceful shutdown on serve (#2398) 2023-12-29 11:17:58 +00:00
David PedersenandGitHub c3db223532 Rework error handling example (#2382) 2023-12-29 01:49:13 +01:00
David PedersenandGitHub 72ccde5900 Update multer (#2433) 2023-12-17 11:31:38 +00:00
David PedersenandGitHub 6e0955ed9b Fix CI (#2434) 2023-12-17 12:11:40 +01:00
David PedersenandGitHub ab36eda6aa Release axum and axum-core (#2402) 2023-12-04 09:16:15 +01:00
ef5663674c Gracefully handle accept errors in serve (#2400)
Co-authored-by: Jonas Platte <[email protected]>
2023-12-02 18:04:05 +00:00
David PedersenandGitHub 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 9d0e634285 Fix comment in testing example 2023-11-27 10:58:03 +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 PedersenandGitHub e63cc49f55 Update unix-domain-socket, listen-multiple-addrs, and testing examples (#2358) 2023-11-27 10:23:52 +01:00
David Pedersen db344fab3f The main branch no longer contains breaking changes 🎉 2023-11-27 09:34:16 +01:00
David PedersenandGitHub b7d14d3602 Release axum 0.7 (#2354) 2023-11-27 09:30:38 +01:00
David PedersenandGitHub 15781fe22b Prepare serve for potentially supporting graceful shutdown (#2357) 2023-11-26 12:21:35 +00:00
da82e887cd Update graceful shutdown example (#2355)
Co-authored-by: Jonas Platte <[email protected]>
2023-11-26 10:34:41 +00:00
David PedersenandGitHub 1a78e093ed Apply changelog changes from 0.6 branch to main (#2353) 2023-11-25 20:44:07 +01:00
David PedersenandGitHub 20862d42f5 Add example showing how to use hyper's low level API (#2338) 2023-11-23 13:39:01 +01:00
David PedersenandGitHub 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
c8cf147657 Make sure axum-extra also supports being compiled to WASM (#2237)
Co-authored-by: Jonas Platte <[email protected]>
2023-09-21 15:14:57 +02:00
David PedersenandGitHub 3b3bbb2403 Make tokio an optional dependency of axum-extra (#2236) 2023-09-21 07:33:40 +00:00
David PedersenandGitHub a9822ec80b Use tower-http's TimeoutLayer (#2231) 2023-09-17 18:02:22 +02:00
David PedersenandGitHub 9eb502c768 Use tuples instead of ServiceBuilder internally (#2229) 2023-09-17 10:56:47 +02:00
David PedersenandGitHub 20f48af914 Add NestedPath (#1924) 2023-09-17 10:32:23 +02:00
David PedersenandGitHub 449e4c1138 Add docsrs feature to axum-core and axum-macros (#2164) 2023-09-16 19:47:49 +00:00
David Pedersen 65defdb463 fix cargo-deny 2023-09-16 21:32:40 +02:00
David PedersenandGitHub eade3fdad6 Update prost (#2224) 2023-09-14 15:19:23 +02:00
David PedersenandGitHub 54e203cd51 Clearly document applying DefaultBodyLimit to individual routes (#2157) 2023-08-08 09:57:55 +00:00
David Pedersen e8cf5f4f0e Mention tokio-stream in SSE example 2023-08-06 20:45:35 +02:00
David PedersenandGitHub cc611b8b24 Implement IntoResponse for (R,) where R: IntoResponse (#2143) 2023-08-03 18:15:06 +00:00
David PedersenandGitHub 2138489ce5 Implement Handler for T: IntoResponse (#2140) 2023-08-02 21:17:12 +02:00
David PedersenandGitHub 5b89f1dfaa Add example showing how to proxy reqwest::Response (#2138) 2023-08-02 08:15:47 +00:00
David PedersenandGitHub 6416a4784b axum-extra: Remove unused tower-http dependency (#2137) 2023-08-02 07:50:44 +00:00
David PedersenandGitHub f9ea40bb44 Don't depend on axum-macros in examples (#2122) 2023-07-26 20:21:39 +02:00
David PedersenandGitHub 5567d665d7 Fix typo (#2118) 2023-07-25 21:52:08 +02:00
David PedersenandGitHub 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 PedersenandGitHub a0db77a900 Fix bugs around merging routers with nested fallbacks (#2096) 2023-07-16 10:06:58 +00:00
David PedersenandGitHub 6f7ff85565 Fix example for accessing inner extrator errors (#2095) 2023-07-16 01:40:31 +02:00
David PedersenandGitHub b34715fe81 Update to hyper 1.0.0-rc.4 (#2094) 2023-07-15 15:38:38 +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
David PedersenandGitHub b7665b209a Fix CI (#2054) 2023-06-22 23:20:46 +02:00
David PedersenandGitHub b663072504 Don't remove the Sec-WebSocket-Key header in WebSocketUpgrade (#1972) 2023-04-30 11:54:41 +02:00
David PedersenandGitHub c7d4af9bd8 Fix fallback panic on CONNECT requests (#1963) 2023-04-25 16:01:39 +02:00
David PedersenandGitHub d1765d9a00 Don't inherit fallbacks when using Router::nest_service (#1956) 2023-04-22 16:19:32 +02:00
David PedersenandGitHub 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
877e3fe4de Move TypedHeader to axum-extra (#1850)
Co-authored-by: Michael Scofield <[email protected]>
Co-authored-by: Jonas Platte <[email protected]>
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
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
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 e1eb7d6615 Add axum_core::body::Body (#1584) 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 PedersenandGitHub c31bea2f96 Release axum and axum-extra (#1942) 2023-04-18 20:40:42 +02:00
David PedersenandGitHub 994492d427 Add test for not hitting debug_assert in MatchedPath (#1935) 2023-04-17 13:46:54 +02:00
David PedersenandGitHub b42897f2dc Document that Router::new().fallback(...) isn't optimal (#1940) 2023-04-17 13:41:53 +02:00
David PedersenandGitHub 2c87d65f17 Don't allow extracting MatchedPath in fallbacks (#1934) 2023-04-17 13:20:54 +02:00
David PedersenandGitHub e97462d452 Add Html, Css, JavaScript, and Wasm response types (#1921) 2023-04-17 13:20:17 +02:00
David PedersenandGitHub 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 PedersenandGitHub 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
David PedersenandGitHub b92b91e75e Release axum 0.6.14 (#1926) 2023-04-11 19:38:22 +02:00
David PedersenandGitHub 51edc9c895 Release (#1923) 2023-04-11 17:23:38 +02:00
David PedersenandGitHub 6b106f4bab Log built-in rejections (#1890) 2023-04-11 16:57:49 +02:00
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 14d2b2dc87 Add tutorials to ECOSYSTEM.md 2023-04-11 10:37:22 +02:00
David Pedersen 4db9b6eb81 add missing changelog link 2023-04-10 09:23:55 +02:00
David PedersenandGitHub 352cf9a266 Implement Deref and DerefMut for built-in extractors (#1922) 2023-04-10 07:18:35 +00:00