Commit graph

1550 commits

Author SHA1 Message Date
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 Panda
12d7d9c03c
Fix documentation for the file-stream response (#3102)
Co-authored-by: Tobias Bieniek <tobias@bieniek.cloud>
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) 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
Jonas Platte
ec75ee3827
Add a separate trait for optional extractors (#2475) 2024-12-10 02:54:59 +00:00
Hamir Mahal
fd11d8efde
Remove raw string hashes (#3071) 2024-12-08 20:49:09 -05:00
YanHeDoki
7c871e9591
Add FileStream response to axum-extra (#3047) 2024-12-04 12:33:07 +00:00
Jonas Platte
99c07e4d86
Enable and fix warnings from clippy::uninlined_format_args (#3063) 2024-12-03 22:27:14 +01:00
Necdet Arda Etiman
b5a0109221 Added axum-ws-broadcaster to ECOSYSTEM.md 2024-12-02 17:42:51 +01:00
Jonas Platte
9fab45af46
Make ConnectInfo work with ListenerExt::tap_io (#3059) 2024-12-02 07:36:50 +00:00
Jonas Platte
6d30c579e0
Remove multipart from axum-extra' default features (#3058) 2024-12-01 11:44:54 +01:00
Jonas Platte
f6379558e6
Clean up axum-extra'a new error-response feature (#3057) 2024-12-01 11:44:43 +01:00
Jonas Platte
84c3960639
Make serve generic over the listener and IO types (#2941)
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2024-11-30 23:47:13 +01:00
Jonas Platte
d84136e1e4
Centralize lint configuration (#3055) 2024-11-30 16:53:48 +01:00
Claas
2eaed0badc
Fix PrivateCookieJar documentation example comments (#3053) 2024-11-28 23:00:14 +00:00
Jonas Platte
c7aa6454e7
Fix new clippy lints (#3054) 2024-11-28 23:53:20 +01:00
Jonas Platte
11806fbc61
Disallow nesting at the root of the router (#3051) 2024-11-26 20:59:40 +01:00
Jonas Platte
fb1b8f1a55
Remove unused import in trybuild test (#3050) 2024-11-26 20:47:43 +01:00
Jonas Platte
9ddb25f089
Re-format trybuild tests (#3049) 2024-11-26 18:04:01 +00:00
Jonas Platte
f1c79a459b
Simplify todos_index in todos example (#3048) 2024-11-26 18:56:29 +01:00
joeydewaal
69a89c00e7
Add Attachment type in features documentation (#3046) 2024-11-24 01:02:05 +01:00
Jonas Platte
9517decf2f
Don't panic when array type is used for path segment (#3039) 2024-11-19 20:57:30 +00:00
Logan B. Nielsen
7e59625778
Implement CSRF token verification for OAuth example (#2534)
Co-authored-by: Logan Nielsen <loganbn@amazon.com>
Co-authored-by: Logan Nielsen <logan.nielsen@one.app>
2024-11-17 22:27:54 +01:00
Leon Lux
dc5c202c5f
Add shorthand way to return non-IntoResponse errors (#3010)
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2024-11-17 22:12:45 +01:00