mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-28 00:00:20 +02:00
Reference axum-macros instead of axum-debug (#738)
* Reference axum-macros instead of axum-debug * changelog
This commit is contained in:
+6
-1
@@ -7,7 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
# Unreleased
|
||||
|
||||
- None.
|
||||
- Reference [axum-macros] instead of [axum-debug]. The latter has been superseded by
|
||||
axum-macros and is deprecated ([#738])
|
||||
|
||||
[#738]: https://github.com/tokio-rs/axum/pull/738
|
||||
[axum-debug]: https://docs.rs/axum-debug
|
||||
[axum-macros]: https://docs.rs/axum-macros
|
||||
|
||||
# 0.4.4 (13. January, 2021)
|
||||
|
||||
|
||||
@@ -5,4 +5,4 @@ can be converted [into a response](crate::response).
|
||||
Handlers is where your application logic lives and axum applications are built
|
||||
by routing between handlers.
|
||||
|
||||
[`debug_handler`]: https://docs.rs/axum-debug/latest/axum_debug/attr.debug_handler.html
|
||||
[`debug_handler`]: https://docs.rs/axum-macros/latest/axum_macros/attr.debug_handler.html
|
||||
|
||||
@@ -66,9 +66,9 @@
|
||||
//!
|
||||
//! This error doesn't tell you _why_ your function doesn't implement
|
||||
//! [`Handler`]. It's possible to improve the error with the [`debug_handler`]
|
||||
//! proc-macro from the [axum-debug] crate.
|
||||
//! proc-macro from the [axum-macros] crate.
|
||||
//!
|
||||
//! [axum-debug]: https://docs.rs/axum-debug
|
||||
//! [axum-macros]: https://docs.rs/axum-macros
|
||||
|
||||
use crate::{
|
||||
body::{boxed, Body, Bytes, HttpBody},
|
||||
|
||||
+2
-2
@@ -403,8 +403,8 @@
|
||||
//! [`HeaderMap`]: http::header::HeaderMap
|
||||
//! [`Request`]: http::Request
|
||||
//! [customize-extractor-error]: https://github.com/tokio-rs/axum/blob/main/examples/customize-extractor-error/src/main.rs
|
||||
//! [axum-debug]: https://docs.rs/axum-debug
|
||||
//! [`debug_handler`]: https://docs.rs/axum-debug/latest/axum_debug/attr.debug_handler.html
|
||||
//! [axum-macros]: https://docs.rs/axum-macros
|
||||
//! [`debug_handler`]: https://docs.rs/axum-macros/latest/axum_macros/attr.debug_handler.html
|
||||
//! [`Handler`]: crate::handler::Handler
|
||||
//! [`Infallible`]: std::convert::Infallible
|
||||
//! [load shed]: tower::load_shed
|
||||
|
||||
Reference in New Issue
Block a user