Skip to content
Discussion options

You must be logged in to vote

You are using an incompatible version of axum & axum-macros. It's recommended to not use axum-macros directly at all. You can use debug_handler as #[axum::debug_handler] by enabling axum's macros Cargo feature (at a slight hit to build parallelism):

axum = { version = "0.7.1", features = ["macros"]

Alternatively, upgrade axum-macros to 0.4.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Esgrove
Comment options

@jplatte
Comment options

Answer selected by davidpdrsn
@jplatte
Comment options

@Esgrove
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants