Jonas Platte
e3b32f48b5
Remove deprecated extractors from axum-extra ( #3599 )
2025-12-27 15:43:01 +00:00
Jonas Platte
cae6bc3709
axum: Use serde_html_form for Query and Form ( #3594 )
2025-12-26 13:03:42 +01:00
Lyra Naeseth
3ef6c5d183
Make it easier to visually scan for default features ( #3550 )
2025-11-10 10:41:04 +01:00
tottoto
dcbcf5c5fd
axum-extra: Make typed-routing feature enable routing feature ( #3514 )
2025-10-11 11:22:51 +02:00
David Mládek
6cea3eadee
Remove usage of the doc_auto_cfg feature ( #3505 )
2025-09-30 11:53:30 +02:00
tottoto
d184798937
axum-extra: Make axum optional dependency ( #3485 )
2025-09-20 22:50:56 +02:00
Tobias Bieniek
28d8d9b747
Refactor TestClient usage ( #3121 )
2024-12-27 18:24:50 +01:00
Bismit Panda and Tobias 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
YanHeDoki
7c871e9591
Add FileStream response to axum-extra ( #3047 )
2024-12-04 12:33:07 +00: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
joeydewaal
69a89c00e7
Add Attachment type in features documentation ( #3046 )
2024-11-24 01:02:05 +01:00
Tobias Bieniek
f09e7fba9d
axum-extra: Add links to features table ( #3030 )
2024-11-16 11:14:51 +01:00
Jonas Platte
56c709b33d
Some documentation fixes ( #3027 )
2024-11-14 21:12:16 +01:00
Benno van den Berg
50274725cb
Resolve clippies ( #2843 )
2024-07-24 00:07:25 +02: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
2ec68d6c4d
Add rejection tracing to all extractors ( #2584 )
2024-03-16 22:34:18 +01:00
future-highway
56159b0d4e
JsonDeserializer extractor for zero-copy deserialization ( #2431 )
2023-12-29 12:06:47 +01:00
Joshua Mo
2b486ea174
docs: Typo correction ( #2405 )
2023-12-04 19:04:07 +01:00
Georg Semmler
2f6200dfbd
Use the diagnostic namespace ( #2246 )
2023-09-29 09:25:26 +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
c97967252d
Add serve function and remove Server re-export ( #1868 )
2023-04-21 17:45:31 +02:00
David Pedersen
39bb28130d
Enable println warning ( #1929 )
2023-04-14 22:26:56 +02:00
Jonas Platte and David Pedersen
43b2d52403
Add OptionalPath extractor ( #1889 )
...
Co-authored-by: David Pedersen <[email protected] >
2023-04-09 12:23:13 +00:00
John Downey and David Pedersen
db22b7309d
Remove remnants of spa feature ( #1802 )
...
Co-authored-by: David Pedersen <[email protected] >
2023-03-03 14:43:19 +00:00
David Pedersen
aa2cbf6920
Add axum_extra::extract::Multipart ( #1692 )
2023-03-03 10:15:09 +01:00
David Pedersen and Allan
6a4825bb22
Rename ProtoBuf to Protobuf ( #1763 )
...
Co-authored-by: Allan <[email protected] >
2023-02-24 21:40:42 +01:00
David Pedersen
37922ab840
Add option_layer ( #1696 )
2023-02-11 23:11:21 +00:00
David Pedersen
b4204e223d
Add TypedPath::with_query_params ( #1744 )
2023-02-11 22:10:07 +00:00
Allan
b1f7ee938d
Update axum-extra feature flag table ( #1594 )
2022-11-29 22:11:36 +00:00
Marek Barvíř and Marek Barvíř
be54583d98
Reexport key-expansion ( #1425 )
...
* Reexport key-expansion
* Description
Co-authored-by: Marek Barvíř <[email protected] >
2022-09-28 20:06:56 +00:00
Jonas Platte
69d64cecc3
Split RouterService off of Router ( #1381 )
2022-09-22 12:10:55 +02:00
David Pedersen and Jonas Platte
e22f6f9d2b
Add Either{2..8} to axum-extra ( #1263 )
...
* Add `Either{2..8}`
* Apply suggestions from code review
Co-authored-by: Jonas Platte <[email protected] >
* Either2 => Either
* Update axum-extra/src/either.rs
Co-authored-by: Jonas Platte <[email protected] >
Co-authored-by: Jonas Platte <[email protected] >
2022-08-17 08:57:19 +00:00
Filip Kieres
7faf059234
Document browsers ignoring SSE events without data fields ( #1242 ) ( #1214 )
2022-08-10 17:14:42 +02:00
David Pedersen
e79820dbc4
Support chaining handlers with one.or(two).or(three) ( #1170 )
...
* WIP: Handler fallbacks
* Docs
* box futures a bit less
* changelog
2022-08-10 10:09:08 +00:00
David Pedersen
6b6a415622
Add JsonLines extractor and response ( #1093 )
2022-06-20 20:49:18 +02:00
David Pedersen
453202b490
Document all cargo features ( #1079 )
2022-06-10 08:46:09 +02:00
David Pedersen
73b1bafbf8
Add AsyncReadBody ( #1072 )
...
* Add `AsyncReadBody`
* changelog
* sort cargo.toml
2022-06-08 11:02:42 +02:00
David Pedersen
405e3f8c44
Add SpaRouter ( #904 )
2022-04-03 18:29:37 +02:00
David Pedersen and Jonas Platte
7a228a584b
Type safe routing ( #756 )
...
* wip
* wip
* make macro implement trait
* checkpoint
* checkpoint
* Simplify things quite a bit
* re-export `axum_macros::TypedPath` from `axum_extra`
* docs
* add missing feature
* fix docs link
* fix features
* fix missing imports
* make serde an optional dep again
* ui tests
* Break things up a bit
* Update span for `FromRequest` impls to point to callsite
* make docs feature labels show up automatically
* Apply suggestions from code review
Co-authored-by: Jonas Platte <[email protected] >
* add note about Display/Serialize being compatible
* Update axum-extra/src/routing/typed.rs
Co-authored-by: Jonas Platte <[email protected] >
* fix missing docs link
* what about typed methods?
* Revert "what about typed methods?"
This reverts commit cc1f989467 .
* don't allow wildcards for now
* percent encode params
* Update axum-extra/src/routing/typed.rs
Co-authored-by: Jonas Platte <[email protected] >
* rephrase args
* changelog
Co-authored-by: Jonas Platte <[email protected] >
2022-02-18 14:13:56 +01:00
David Pedersen
9004a14302
Move middleware::from_fn into axum ( #719 )
...
* Move `middleware::from_fn` into axum
* changelog
* fix feature
* Rephrase changelog a bit
2022-01-25 10:19:06 +01:00
David Pedersen
f4716084a7
Add middleware::from_fn for creating middleware from async fns ( #656 )
...
* Add `middleware::from_fn` for creating middleware from async fns
* More trait impls for `Next`
* Make `Next::run` consume `self`
* Use `.router_layer` in example, since middleware returns early
* Actually `Next` probably shouldn't impl `Clone` and `Service`
Has implications for backpressure and stuff
* Simplify `print-request-response` example
* Address review feedback
* add changelog link
2021-12-27 14:01:26 +01:00
David Pedersen
96b353b556
Add Cached extractor ( #565 )
...
* extra: Add `Cached` extractor
`Cached` wraps another extractor and caches its result in request
extensions.
* Use newtype to avoid overriding extensions of the same type
* Rename type param
2021-11-25 10:14:31 +00:00
Jonas Platte
69fee5864d
Use .to_owned() instead of .to_string() to turn &str into String ( #548 )
2021-11-19 22:15:47 +00:00
David Pedersen
f9a437d081
Add Resource to axum-extra ( #538 )
2021-11-17 22:31:43 +00:00
Jonas Platte
b43b9ed69d
Add axum_extra::response::ErasedJson ( #537 )
2021-11-17 22:54:02 +01:00
David Pedersen
a16ea65031
Add axum-extra crate ( #536 )
...
* Add `axum-extra` crate
Empty for now but now we have a place to put stuff.
I'll make a PR for moving over https://github.com/davidpdrsn/axum-resource .
* remove `authors` field from `Cargo.toml`s
2021-11-17 20:00:32 +00:00