Skip to content

Commit e3364bc

Browse files
authored
Reference axum-macros instead of axum-debug (#738)
* Reference axum-macros instead of axum-debug * changelog
1 parent 5fe981a commit e3364bc

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

axum/CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
# Unreleased
99

10-
- None.
10+
- Reference [axum-macros] instead of [axum-debug]. The latter has been superseded by
11+
axum-macros and is deprecated ([#738])
12+
13+
[#738]: https://github.com/tokio-rs/axum/pull/738
14+
[axum-debug]: https://docs.rs/axum-debug
15+
[axum-macros]: https://docs.rs/axum-macros
1116

1217
# 0.4.4 (13. January, 2021)
1318

axum/src/docs/handlers_intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ can be converted [into a response](crate::response).
55
Handlers is where your application logic lives and axum applications are built
66
by routing between handlers.
77

8-
[`debug_handler`]: https://docs.rs/axum-debug/latest/axum_debug/attr.debug_handler.html
8+
[`debug_handler`]: https://docs.rs/axum-macros/latest/axum_macros/attr.debug_handler.html

axum/src/handler/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@
6666
//!
6767
//! This error doesn't tell you _why_ your function doesn't implement
6868
//! [`Handler`]. It's possible to improve the error with the [`debug_handler`]
69-
//! proc-macro from the [axum-debug] crate.
69+
//! proc-macro from the [axum-macros] crate.
7070
//!
71-
//! [axum-debug]: https://docs.rs/axum-debug
71+
//! [axum-macros]: https://docs.rs/axum-macros
7272
7373
use crate::{
7474
body::{boxed, Body, Bytes, HttpBody},

axum/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,8 @@
403403
//! [`HeaderMap`]: http::header::HeaderMap
404404
//! [`Request`]: http::Request
405405
//! [customize-extractor-error]: https://github.com/tokio-rs/axum/blob/main/examples/customize-extractor-error/src/main.rs
406-
//! [axum-debug]: https://docs.rs/axum-debug
407-
//! [`debug_handler`]: https://docs.rs/axum-debug/latest/axum_debug/attr.debug_handler.html
406+
//! [axum-macros]: https://docs.rs/axum-macros
407+
//! [`debug_handler`]: https://docs.rs/axum-macros/latest/axum_macros/attr.debug_handler.html
408408
//! [`Handler`]: crate::handler::Handler
409409
//! [`Infallible`]: std::convert::Infallible
410410
//! [load shed]: tower::load_shed

0 commit comments

Comments
 (0)