Skip to content

Commit

Permalink
add from_fn_with_state
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelBonilla committed Dec 3, 2022
1 parent b0e3223 commit b392b57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middleware/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::Body;

pub use axum::middleware::{self, from_fn};
pub use axum::middleware::{self, from_fn, from_fn_with_state};

pub type Next = middleware::Next<Body>;
pub use tower_http as tower;

0 comments on commit b392b57

Please sign in to comment.