Don't depend on axum-macros in examples (#2122)

This commit is contained in:
David Pedersen
2023-07-26 20:21:39 +02:00
committed by GitHub
parent 0151aeea54
commit f9ea40bb44
5 changed files with 11 additions and 12 deletions
+3 -3
View File
@@ -3,9 +3,9 @@ already existing extractors
- [`with_rejection`](src/with_rejection.rs): Uses
`axum_extra::extract::WithRejection` to transform one rejection into another
- [`derive_from_request`](src/derive_from_request.rs): Uses
`axum_macros::FromRequest` to wrap another extractor and customize the
rejection
- [`derive_from_request`](src/derive_from_request.rs): Uses the
`axum::extractr::FromRequest` derive macro to wrap another extractor and
customize the rejection
- [`custom_extractor`](src/custom_extractor.rs): Manual implementation of
`FromRequest` that wraps another extractor