mirror of
https://github.com/tokio-rs/axum.git
synced 2025-02-17 02:34:28 +01:00
Make middleware::from_fn
response future public (#778)
* Make `middleware::from_fn` response future public * Make module name consistent with tower
This commit is contained in:
parent
50606517ac
commit
49d8fc5093
1 changed files with 6 additions and 0 deletions
|
@ -5,3 +5,9 @@
|
||||||
mod from_fn;
|
mod from_fn;
|
||||||
|
|
||||||
pub use self::from_fn::{from_fn, FromFn, FromFnLayer, Next};
|
pub use self::from_fn::{from_fn, FromFn, FromFnLayer, Next};
|
||||||
|
|
||||||
|
pub mod future {
|
||||||
|
//! Future types.
|
||||||
|
|
||||||
|
pub use super::from_fn::ResponseFuture as FromFnResponseFuture;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue