mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-29 00:00:18 +02: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:
@@ -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;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user