This website requires JavaScript.
Explore
Register
Sign in
OpenSource
/
axum
Watch
1
Star
0
Fork
You've already forked axum
0
mirror of
https://github.com/tokio-rs/axum.git
synced
2024-12-15 11:15:51 +01:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
ec75ee3827
axum
/
axum-macros
/
tests
/
debug_handler
/
fail
/
not_async.rs
7 lines
80 B
Rust
Raw
Normal View
History
Unescape
Escape
Move axum-debug into axum-macros (#724) * Move axum-debug into axum-macros * fix ref to axum-macros in changelog * Apply suggestions from code review Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com> Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
2022-01-26 23:27:22 +01:00
use
axum_macros
::
debug_handler
;
Add `trybuild` tests for axum-debug (#501) The things are also covered by the doc tests but this also gives us assertions on the errors produced, which is the whole point of this crate :)
2021-11-11 21:26:08 +01:00
#[
debug_handler
]
fn
handler
(
)
{
}
fn
main
(
)
{
}
Reference in a new issue
Copy permalink