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-01 04:31:48 +01:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
e84d563b26
axum
/
axum-macros
/
tests
/
debug_handler
/
fail
/
invalid_attrs.rs
7 lines
91 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
;
Make `axum-debug` handle more cases (#518) * Make `axum-debug` handle more cases * Only just trybuild tests on stable * revert changes to hello-world example * Remove a bit of duplication * return error on generics * address review feedback * Support associated functions with receiver or returns `Self` * fix indentation
2021-11-19 21:32:07 +01:00
#[
debug_handler(foo)
]
async
fn
handler
(
)
{
}
fn
main
(
)
{
}
Reference in a new issue
Copy permalink