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:
David Pedersen 2022-02-22 13:30:47 +01:00 committed by GitHub
parent 50606517ac
commit 49d8fc5093
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}