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 28, 2022
1 parent f867da1 commit f27c7f8
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
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,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
Original file line number Diff line number Diff line change
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 f27c7f8

Please sign in to comment.