diff --git a/axum/src/middleware/mod.rs b/axum/src/middleware/mod.rs index 2a31a48b..6e3905d9 100644 --- a/axum/src/middleware/mod.rs +++ b/axum/src/middleware/mod.rs @@ -5,3 +5,9 @@ mod from_fn; pub use self::from_fn::{from_fn, FromFn, FromFnLayer, Next}; + +pub mod future { + //! Future types. + + pub use super::from_fn::ResponseFuture as FromFnResponseFuture; +}