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-19 13:10:41 +01:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
a4c820420d
axum
/
axum-macros
/
tests
/
debug_handler
/
fail
/
argument_not_extractor.rs
7 lines
95 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
]
async
fn
handler
(
foo
:
bool
)
{
}
fn
main
(
)
{
}
Reference in a new issue
Copy permalink