nyx/tests/dynamic_fixtures/surface/rust_axum/main.rs

10 lines
161 B
Rust
Raw Permalink Normal View History

2026-06-05 10:16:30 -05:00
use axum::{routing::get, Router};
async fn list_users() -> &'static str {
"[]"
}
fn app() -> Router {
Router::new().route("/users", get(list_users))
}