Commit Graph
144 Commits
Author SHA1 Message Date
Jonas Platte 47791cb593 Remove versions from internal dev-dependencies
This breaks the cyclic dependencies for publishing.
2024-10-05 11:44:31 +00:00
Jonas Platte 9a69e415fb Release axum 0.8.0-alpha.1 and related crates (#2958) 2024-10-05 11:20:05 +02:00
David Mládek 4944ed3b1c Update MSRV in READMEs (#2948) 2024-09-30 10:18:49 +02:00
Zheng LiandJonas Platte 19101f624d Replace async_trait with AFIT / RPITIT (#2308)
Co-authored-by: Jonas Platte <[email protected]>
2024-09-28 21:27:11 +00:00
Jonas Platte 689ca1aea2 Update MSRV for all crates to 1.75 (#2943) 2024-09-28 21:21:41 +00:00
Jonas Platte 4b48f308c3 Merge branch 'v0.7.x' into main 2024-09-27 22:37:09 +02:00
Jonas Platte fe56a310ef Bump versions 2024-09-27 22:36:28 +02:00
Jonas Platte 6f5607785d core: Fix compile errors from __log_rejection (#2933) 2024-09-27 21:22:59 +02:00
Jonas Platte 2fb6cea732 Remove unused dependencies from examples (#2934) 2024-09-25 03:44:47 -04:00
Jonas Platte 391f2deccd core: Fix compile errors from __log_rejection (#2933) 2024-09-25 03:44:35 -04:00
Jonas Platte a73dab417d Bump versions 2024-09-20 21:25:30 +02:00
yhx-12243 f1723890cb Avoid reallocation for String body extraction (#2857) 2024-09-20 21:14:42 +02:00
Jonas PlatteandYann Simon 0ba73b5c6e Implement FromRequest for BytesMut (#2583)
Co-authored-by: Yann Simon <[email protected]>
2024-09-20 20:57:26 +02:00
Jonas Platte d2d74f6ad1 Upgrade tower and tower-http 2024-09-20 20:57:12 +02:00
Jonas Platte de9290a8b7 Add more must_use attributes (#2846)
… so people get a warning when they accidentally add a semicolon after the response expression in a handler function.

Also update changelogs of axum-core, axum-extra.
2024-09-12 12:09:21 +02:00
StNicolay 6f50c6ed4e Made DefaultBodyLimit const friendly (#2875) 2024-08-16 04:12:35 -04:00
Benno van den Berg 50274725cb Resolve clippies (#2843) 2024-07-24 00:07:25 +02:00
David Mládek 51bb82bb2d axum-core: Correctly use features for tracing macro (#2739) 2024-06-09 23:26:27 +02:00
Johann Birnick 68cfdced91 Derive Clone and Copy for AppendHeaders (#2776) 2024-06-09 23:24:30 +02:00
Jonas Platte 5201798d4e Enable diagnostic attributes for Rust 1.78+ (#2693) 2024-04-30 11:05:38 -04:00
mikihiro c6fd852844 Update sync_wrapper to 1.0.0 from 0.1.1
... and fix CI.
2024-03-23 19:46:20 +01:00
David Mládek 3569950a2e Make nightly_error_messages feature compatible with latest nightly 2024-03-14 21:19:03 +01:00
Nick Price 934b1aac06 Grammar: Fix "it's" vs "its" in several places (#2518) 2024-01-15 21:48:11 +01:00
David Pedersen 9ebd105d04 Release (#2510) 2024-01-13 14:31:03 +01:00
David Pedersen 85573e0573 impl IntoResponseParts for () (#2471) 2023-12-30 17:47:22 +00:00
David Pedersen fe89ab5592 Release (#2461) 2023-12-29 17:47:06 +01:00
Tobias Bieniek 212d959a54 Body: Implement From<()> (#2411) 2023-12-19 10:51:38 +01:00
David Pedersen ab36eda6aa Release axum and axum-core (#2402) 2023-12-04 09:16:15 +01:00
Benedikt Werner 6491655a80 Fix typo in DefaultBodyLimit docs (#2401) 2023-12-02 18:02:20 +01:00
SecretPocketCat 801a78a4cf Fix from_stream doc link to Stream (#2391) 2023-12-01 16:01:40 +01:00
Justin Sexton f98bc1186a Updated doc link versions to use more explicit 0.7 version. (#2379) 2023-11-29 09:31:17 +00:00
Justin Sexton 57c59170c0 Updated doc link versions from 0.6.x to 0.7. (#2378) 2023-11-29 08:44:32 +00: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 b7d14d3602 Release axum 0.7 (#2354) 2023-11-27 09:30:38 +01:00
David Pedersen 1a78e093ed Apply changelog changes from 0.6 branch to main (#2353) 2023-11-25 20:44:07 +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
Mikhail Antoshkin c100650464 Fix items-after-test-module clippy warning on 1.75.0-beta.1 (#2318) 2023-11-16 07:15:16 +00: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
Yuri Astrakhan 786329d85d Use inline format args (#2232) 2023-09-19 06:51:57 +00:00
David Pedersen 449e4c1138 Add docsrs feature to axum-core and axum-macros (#2164) 2023-09-16 19:47:49 +00:00
David Pedersen 54e203cd51 Clearly document applying DefaultBodyLimit to individual routes (#2157) 2023-08-08 09:57:55 +00: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
Alexander van Ratingen adb387a370 Implement IntoResponse for boxed slices (#2035) 2023-06-26 11:14:28 +00:00
Sabrina JewsonandDavid Pedersen 3c514ab0b4 Fix .source() of composite rejections (#2030)
Co-authored-by: David Pedersen <[email protected]>
2023-06-22 23:46:39 +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