mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-28 23:38:20 +01:00
f4716084a7
* Add `middleware::from_fn` for creating middleware from async fns * More trait impls for `Next` * Make `Next::run` consume `self` * Use `.router_layer` in example, since middleware returns early * Actually `Next` probably shouldn't impl `Clone` and `Service` Has implications for backpressure and stuff * Simplify `print-request-response` example * Address review feedback * add changelog link |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |