mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-23 23:57:38 +01:00
10 lines
151 B
Rust
10 lines
151 B
Rust
|
use axum_debug::debug_handler;
|
||
|
use axum::response::IntoResponse;
|
||
|
|
||
|
#[debug_handler]
|
||
|
async fn handler() -> impl IntoResponse {
|
||
|
"hi!"
|
||
|
}
|
||
|
|
||
|
fn main() {}
|