mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-26 00:00:23 +02:00
Add #[debug_middleware] (#2725)
Co-authored-by: David Pedersen <[email protected]>
This commit is contained in:
co-authored by
David Pedersen
parent
c57c2847b2
commit
df612fdc72
@@ -18,7 +18,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
a `Router` or `MethodRouter` ([#2586])
|
||||
- **fixed:** `h2` is no longer pulled as a dependency unless the `http2` feature
|
||||
is enabled ([#2605])
|
||||
- **added:** Add `#[debug_middleware]` ([#1993], [#2725])
|
||||
|
||||
[#1993]: https://github.com/tokio-rs/axum/pull/1993
|
||||
[#2725]: https://github.com/tokio-rs/axum/pull/2725
|
||||
[#2586]: https://github.com/tokio-rs/axum/pull/2586
|
||||
[#2605]: https://github.com/tokio-rs/axum/pull/2605
|
||||
|
||||
|
||||
+1
-1
@@ -463,7 +463,7 @@ pub use self::form::Form;
|
||||
pub use axum_core::{BoxError, Error, RequestExt, RequestPartsExt};
|
||||
|
||||
#[cfg(feature = "macros")]
|
||||
pub use axum_macros::debug_handler;
|
||||
pub use axum_macros::{debug_handler, debug_middleware};
|
||||
|
||||
#[cfg(all(feature = "tokio", any(feature = "http1", feature = "http2")))]
|
||||
#[doc(inline)]
|
||||
|
||||
Reference in New Issue
Block a user