mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-22 15:17:18 +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;
|
||||
|
||||
pub use self::from_fn::{from_fn, FromFn, FromFnLayer, Next};
|
||||
|
||||
pub mod future {
|
||||
//! Future types.
|
||||
|
||||
pub use super::from_fn::ResponseFuture as FromFnResponseFuture;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue