Skip to content

Commit

Permalink
Remove deprecated extractor_middleware function (#1077)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpdrsn committed Jun 27, 2022
1 parent aa6557c commit 83ec57b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
4 changes: 4 additions & 0 deletions axum/CHANGELOG.md
Expand Up @@ -24,7 +24,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
extractor ([#1078])
- **added:** Implement `IntoResponse` for `Form` ([#1095])
- **change:** axum's MSRV is now 1.56 ([#1098])
- **breaking:** Remove `extractor_middleware` which was previously deprecated.
Use `axum::middleware::from_extractor` instead ([#1077])

[#1077]: https://github.com/tokio-rs/axum/pull/1077
[#1078]: https://github.com/tokio-rs/axum/pull/1078
[#1078]: https://github.com/tokio-rs/axum/pull/1078
[#1095]: https://github.com/tokio-rs/axum/pull/1095
[#1098]: https://github.com/tokio-rs/axum/pull/1098
Expand Down
16 changes: 0 additions & 16 deletions axum/src/extract/extractor_middleware.rs

This file was deleted.

2 changes: 0 additions & 2 deletions axum/src/extract/mod.rs
Expand Up @@ -4,7 +4,6 @@ use http::header;
use rejection::*;

pub mod connect_info;
pub mod extractor_middleware;
pub mod path;
pub mod rejection;

Expand All @@ -24,7 +23,6 @@ pub use axum_core::extract::{FromRequest, RequestParts};
pub use self::{
connect_info::ConnectInfo,
content_length_limit::ContentLengthLimit,
extractor_middleware::extractor_middleware,
host::Host,
path::Path,
raw_query::RawQuery,
Expand Down

0 comments on commit 83ec57b

Please sign in to comment.