Commit graph

249 commits

Author SHA1 Message Date
Jonas Platte
ec75ee3827
Add a separate trait for optional extractors (#2475) 2024-12-10 02:54:59 +00: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
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
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
joeydewaal
69a89c00e7
Add Attachment type in features documentation (#3046) 2024-11-24 01:02:05 +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
Jonas Platte
17016d6dd6
Merge branch 'v0.7.x' into jplatte/merge-v0.7.x 2024-11-16 17:12:32 +01:00
Jonas Platte
9983bc1da4
Bump versions 2024-11-16 17:10:03 +01:00
Tobias Bieniek
a8ce6fa030
axum-extra: Add links to features table (#3030) 2024-11-16 17:07:38 +01:00
David Mládek
893bb75e3b
CI: allow pin-project-lite in public dependencies (#3020) 2024-11-16 16:25:41 +01:00
Tobias Bieniek
f09e7fba9d
axum-extra: Add links to features table (#3030) 2024-11-16 11:14:51 +01:00
Jonas Platte
dee0985dfb
Merge branch 'v0.7.x' into jplatte/merge-v0.7.8 2024-11-14 23:24:29 +01:00
Jonas Platte
feee742ca1
Bump versions 2024-11-14 23:13:41 +01:00
Jonas Platte
da4580247a
Some documentation fixes (#3027) 2024-11-14 23:01:27 +01:00
Erin
43814c174f
Fix TSR redirecting to top-level inside nested Router (#2993)
Co-authored-by: David Mládek <david.mladek.cz@gmail.com>
2024-11-14 22:58:54 +01:00
David Mládek
eb6bea38d0
chore: fix new clippy lint (#2994) 2024-11-14 22:57:29 +01:00
Bouke van der Bijl
bf0c14b8af
Ensure we include the port when parsing authority (#2242)
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
Co-authored-by: Yann Simon <yann.simon.fr@gmail.com>
2024-11-14 22:05:58 +01:00
Sabrina Jewson
c2e7fc0b3d
Add MethodFilter::CONNECT (#2961) 2024-11-14 21:49:11 +01:00
Sabrina Jewson
b71d4fa557
Add axum_extra::json! (#2962) 2024-11-14 21:25:54 +01:00
zleyyij
5b6d1caaa7
axum-extra: Remove stray deprecation in multipart builder (#2957) 2024-11-14 21:20:26 +01:00
zleyyij
bdefe59648
Add multipart/form-data response builders to axum-extra (#2654) 2024-11-14 21:20:10 +01:00
Jonas Platte
56c709b33d
Some documentation fixes (#3027) 2024-11-14 21:12:16 +01:00
Vegard Sandengen
59a2960e42
Add ErrorKind::DeserializeError to specialize ErrorKind::Message (extract::path::ErrorKind) (#2720)
This commit introduces another `extract::path::ErrorKind` variant that captures the
serde error nominally captured through the `serde:🇩🇪:Error` trait impl on `PathDeserializeError`.
We augment the deserialization error with the captured (key, value), allowing `extract::Path`, and wrapping
extractors, to gain programmatic access to the key name, and attempted deserialized value.

The `PathDeserializationError::custom` is used two places in addition to capture the deserialization error.
These usages should still be unaffected.

Co-authored-by: David Mládek <david.mladek.cz@gmail.com>
2024-11-11 16:56:25 +00:00
David Mládek
269565ff93
CI: allow pin-project-lite in public dependencies (#3020) 2024-11-07 17:27:41 +01:00
Benjamin Sparks
ffeb4f9407
Add Scheme extractor (#2507) 2024-10-19 22:04:24 +00:00
Erin
114369418d
Fix TSR redirecting to top-level inside nested Router (#2993)
Co-authored-by: David Mládek <david.mladek.cz@gmail.com>
2024-10-17 16:43:14 +02:00
David Mládek
65ad603701
chore: fix new clippy lint (#2994) 2024-10-17 12:27:47 +02:00
Jonas Platte
0ddc63f77e
Move the Host extractor to axum-extra (#2956) 2024-10-14 22:45:37 +00:00
Sabrina Jewson
822db3b1af
Add MethodFilter::CONNECT (#2961) 2024-10-06 19:09:06 +00:00
Sabrina Jewson
4b4dac4d86
Add axum_extra::json! (#2962) 2024-10-06 19:01:10 +00:00
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
zleyyij
31a87f8b2b
axum-extra: Remove stray deprecation in multipart builder (#2957) 2024-10-04 16:59:26 +00:00
David Mládek
6318b57fda
chore: Upgrade matchit to 0.8 (#2645) 2024-10-03 15:46:58 +00:00
David Mládek
4944ed3b1c
Update MSRV in READMEs (#2948) 2024-09-30 10:18:49 +02:00
creativcoder
3eb8854839
Move Html from axum-extra to axum (#2633) 2024-09-29 09:00:38 +00:00
David Pedersen
52fd139a86
Require Sync for services (#2473)
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
2024-09-28 23:28:44 +02:00
Zheng Li
19101f624d
Replace async_trait with AFIT / RPITIT (#2308)
Co-authored-by: Jonas Platte <jplatte+git@posteo.de>
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
zleyyij
55f9170c7c
Add multipart/form-data response builders to axum-extra (#2654) 2024-09-28 19:40:52 +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
391f2deccd
core: Fix compile errors from __log_rejection (#2933) 2024-09-25 03:44:35 -04:00
Jonas Platte
712b3ef24b
Merge branch 'v0.7.x' into main 2024-09-20 21:27:30 +02:00
Jonas Platte
a73dab417d
Bump versions 2024-09-20 21:25:30 +02:00