1594 Commits

Author SHA1 Message Date
Gábor Szabó
ac7732abd3
[test] the anyhow-error-response example (#3274) 2025-03-18 10:53:00 +01:00
Gábor Szabó
6fa7cce19d
[test] the validator example (#3276) 2025-03-18 10:51:30 +01:00
Andrei Nesterov
c997137383
Implement From<Bytes> for Message (#3273) 2025-03-17 14:15:15 +00:00
Gábor Szabó
f479e0d617
[test] the form example (#3267) 2025-03-17 13:31:17 +01:00
Gábor Szabó
517223f254
[test] the templates example (#3269) 2025-03-17 13:29:27 +01:00
Henrikh Kantuni
ab70773f2b
Fix typo (#3272) 2025-03-17 11:02:18 +01:00
yjh
da3539cb0e
perf: do not convert to Bytes first in protobuf extractor (#3241) 2025-02-28 14:31:41 +01:00
K-tecchan
0cab17542e
docs: Correct TypedHeader link in axum-core/extract/request_parts.rs (#3234) 2025-02-28 07:22:51 +00:00
co63oc
f9ba7776d9 Fix 2025-02-28 07:48:26 +01:00
Wojciech Kordalski
2a5189ed63
Add information about the meaning of Router<S> to Router documentation (#3235) 2025-02-27 21:55:14 +00:00
Mateo Lafalce
7724967867 Add axum-html-minifier to ECOSYSTEM.md
+ Add link to baxe to ECOSYSTEM.md

Add the link to axum-html-minifier library to the ECOSYSTEM.md file

+ Motivation

We want to share the library we've built with the community, get feedback and improvement ideas

+ Solution

With this middleware layer we can send fewer packets to the client and increase the throughput of our websites.
2025-02-23 18:12:27 +01:00
Manuel Tumiati
a192480c4f Add Baxe to ECOSYSTEM.md
Add link to baxe-rs to ECOSYSTEM.md
2025-02-03 09:38:53 +01:00
Noa
6c9cabf985
Properly respond with sec-websocket-protocol under http/2 (#3141) 2025-02-01 16:17:00 +01:00
ohaddahan
0e6e96fb8c
ws: add read_buffer_size(usize) to WebSocketUpgrade (#3178) 2025-01-29 06:21:56 -05:00
Saurav Sharma
687f014875 Update ECOSYSTEM.md
Add https://crates.io/crates/tower_allowed_hosts to ECOSYSTEM.md
2025-01-25 09:16:38 -05:00
Ivan Krivosheev
b0b81746f7
axum-core/body: Implement Stream::size_hint for BodyDataStream (#3195) 2025-01-24 11:16:00 +01:00
Jonas Platte
0cb686535a Lowercase axum in a few more places 2025-01-23 17:38:24 -05:00
Jonas Platte
f2fc88a1fe Clean up ECOSYSTEM.md 2025-01-23 17:38:24 -05:00
4lkaid
f041f68b05 ECOSYSTEM.md: Add axum-kit and fix formatting inconsistencies 2025-01-23 15:42:54 +01:00
Jonas Platte
fccf778a14 Add changelog entry for 0.8.1 2025-01-21 08:58:02 -05:00
Jonas Platte
d65242559f Fix changelog for axum
It contained the 0.8.2 entry as 0.8.1.
2025-01-21 08:58:02 -05:00
Jonas Platte
5966849f14
Release axum 0.8.2 and related crates (#3188) axum-extra-v0.11.0 axum-v0.8.2 axum-core-v0.5.1 2025-01-21 14:12:53 +01:00
Jonas Platte
6df26a3be3
Fix broken intra-doc link (#3186) 2025-01-21 06:45:56 -05:00
Jonas Platte
70d52b386d
ci: Remove condition from typos job (#3187) 2025-01-21 06:45:45 -05:00
Matthias Vogelgesang
067993eb56
Drop unused use in doctests (#3185) 2025-01-20 12:58:47 +01:00
richard
f0ef8ae29b
Update low-level-rustls example - add http2 feature flag (#3179)
Co-authored-by: richard <richardalanjones@gmail.com>
2025-01-16 21:54:44 +01:00
Mohammed Alotaibi
e09cc59365
Make status a const function in rejection handling (#3168)
Signed-off-by: Awiteb <a@4rs.nl>
2025-01-11 18:50:32 +00:00
Sabrina Jewson
28c6be74ae
Guarantee return value of serve, Pt. 2 (#3166) 2025-01-10 22:02:31 +01:00
Tobias Bieniek
d07d129baf
Extension: Implement OptionalFromRequestParts trait (#3157) 2025-01-10 15:47:47 +01:00
David Mládek
4f11b45b18
axum-macros: move from_request.rs to from_request/mod.rs (#3163) 2025-01-08 22:08:35 +01:00
David Mládek
b5236eaff4
axum: fix new formatting string clippy lint (#3162) 2025-01-08 20:03:47 +01:00
David Mládek
18a99da0b0
axum: Move serve.rs to serve/mod.rs (#3161) 2025-01-08 17:56:21 +01:00
Jonas Platte
f84105ae8b
Dependency cleanup (#3145) 2025-01-05 09:34:14 +01:00
Mehul Arora
ef0b99b6a0
Implement OptionalFromRequest for the Json extractor (#3142) 2025-01-03 19:20:40 +00:00
Jonas Platte
e0b55d7503
Release axum v0.8.1 2025-01-01 14:39:51 +01:00
Jonas Platte
ca2741ae6d
Remove warning about breaking changes from README.md 2025-01-01 14:39:23 +01:00
Jonas Platte
926543f207
Release axum v0.8.0 axum-extra-v0.10.0 axum-macros-v0.5.0 axum-v0.8.0 axum-core-v0.5.0 2025-01-01 11:08:20 +01:00
Tobias Bieniek
c8259dccb7
CI: Remove obsolete prefix-key attributes for rust-cache action (#3130) 2024-12-30 09:10:50 +01:00
Tobias Bieniek
f8f3a030b3
Update more hardcoded docs.rs URLs (#3125) 2024-12-27 23:37:28 +01:00
Tobias Bieniek
bb5cf4ce5a
axum-extra/protobuf: Use rejection macros for ProtobufRejection (#3124) 2024-12-27 23:37:06 +01:00
Tobias Bieniek
e58b166f0e
axum-extra/multipart: Use rejection macros for MultipartRejection (#3123) 2024-12-27 23:36:21 +01:00
Tobias Bieniek
5f82540cc1
axum-extra/query: Use rejection macros for QueryRejection (#3122) 2024-12-27 23:02:41 +01:00
Tobias Bieniek
28d8d9b747
Refactor TestClient usage (#3121) 2024-12-27 18:24:50 +01:00
jamesqh
3497e5df9c
Update TLS examples to use better HTTP->HTTPS redirect (#2792) 2024-12-27 15:35:59 +01:00
Tobias Bieniek
33b353def8
Update docs.rs links to 0.8 (#3120) 2024-12-27 13:15:58 +01:00
Tobias Bieniek
09841ff895
axum-extra/form: Add FailedToDeserializeFormBody rejection variant (#3119) 2024-12-27 12:21:38 +01:00
Tobias Bieniek
53370b24e7
axum-core/macros: Change Display impl to match body_text() result (#3118) 2024-12-27 12:20:23 +01:00
Tobias Bieniek
287bd14711
axum-core/macros: Change $body to require literal token (#3117) 2024-12-27 11:39:08 +01:00
Tobias Bieniek
fd60c8471d
axum-core/macros: Move IntoResponse impls below regular impl blocks (#3116) 2024-12-27 11:27:44 +01:00
Tobias Bieniek
7c934f2a83
axum-core/macros: Avoid double body_text() calls in rejection macros (#3110) 2024-12-27 10:58:45 +01:00