Commit Graph
1570 Commits
Author SHA1 Message Date
Matthias Vogelgesang 067993eb56 Drop unused use in doctests (#3185) 2025-01-20 12:58:47 +01:00
richardandrichard f0ef8ae29b Update low-level-rustls example - add http2 feature flag (#3179)
Co-authored-by: richard <[email protected]>
2025-01-16 21:54:44 +01:00
Mohammed Alotaibi e09cc59365 Make status a const function in rejection handling (#3168)
Signed-off-by: Awiteb <[email protected]>
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
Tobias Bieniek 32a948e8ea Fix cargo hack warnings (#3114) 2024-12-27 10:53:31 +01:00
Tobias Bieniek ed4d560054 axum-extra/form: Use rejection macros for FormRejection (#3111) 2024-12-27 10:02:07 +01:00
Tobias Bieniek 8e78a37660 axum-extra/scheme: Use rejection macros for SchemeMissing rejection (#3113) 2024-12-27 10:01:59 +01:00
Tobias Bieniek 8def6782fb Replace custom BoxCloneService struct with tower::util::BoxCloneSyncService (#3109) 2024-12-27 08:57:52 +01:00
Tobias Bieniek a5de589274 Improve crate-ci/typos configuration (#3106) 2024-12-26 22:05:03 +01:00
Tobias Bieniek f6594aaf7b clippy: Merge config files (#3108) 2024-12-26 22:02:53 +01:00
Tobias Bieniek c4edb3b313 Remove broken rest-grpc-multiplex example (#3105) 2024-12-26 14:41:02 +01:00
Tobias Bieniek ee7544da64 Unignore Cargo.lock file (#3104) 2024-12-26 14:35:46 +01:00
Tobias Bieniek 65f88991c3 CI: Remove seemingly unused patch.toml file (#3107) 2024-12-26 14:35:16 +01:00
htrefil 0b06f0c54e Allow querying of HTTP status codes for query and form rejections (#2781) 2024-12-26 12:21:24 +01:00
Bismit PandaandTobias Bieniek 12d7d9c03c Fix documentation for the file-stream response (#3102)
Co-authored-by: Tobias Bieniek <[email protected]>
2024-12-26 09:04:03 +00:00
Jonas Platte 3bb12abc8d Remove OptionalFromRequestParts impl for Query (#3088) 2024-12-25 18:56:48 +01:00
Jonas Platte 1bc694878b ci: Use updated fork of cargo-public-api-crates (#3100) 2024-12-25 18:55:40 +01:00
Jonas Platte c7d2a59e78 Add Scheme extractor to axum-extra changelog (#3097) 2024-12-24 17:03:40 +01:00
Niclas Klugmann ec3ab460af Add axum-negotiate-layer to community projects (#3093) 2024-12-24 12:01:15 +01:00
Tobias Bieniek f476b313ad Simplify TestClient implementation (#3096) 2024-12-23 22:21:00 +01:00
Niclas Klugmann 8af2f27877 cfg UnixListener tests for unix (#3085) 2024-12-21 16:48:33 +01:00
Tobias Bieniek 9cd5cc4fc1 Query/Form: Use serde_path_to_error to report fields that failed to parse (#3081) 2024-12-20 11:42:56 +01:00
Jonas Platte ab8d0088d0 Add changelog entry for tokio-tungstenite upgrade (#3089) 2024-12-19 22:50:04 +01:00
Lena 96e071c8fb Upgrade tokio-tungstenite to 0.26 (#3078) 2024-12-18 15:15:55 -05:00
Jonas Platte 5cdd8a4f18 axum 0.8.0-rc.1 (#3073) axum-extra-v0.10.0-rc.1 axum-macros-v0.5.0-rc.1 axum-v0.8.0-rc.1 axum-core-v0.5.0-rc.1 2024-12-17 23:47:42 +01:00
Shikhar Bhushan c596deafe4 Remove unused nodelay field in Serve (#3076) 2024-12-12 22:05:41 -05:00
Felix B. Bause 2ba7c43647 Fix: documentation link to passing state 2024-12-11 15:22:37 +01:00
dayvejones da63c14467 examples: Upgrade bb8-postgres deps (#3072) 2024-12-09 22:36:47 -05:00