use std::sync::Arc; use axum::{Router, routing::get}; use crate::state::AppState; pub mod index; pub fn build(state: Arc) -> Router { Router::new() .route("/", get(index::handle)) .with_state(state) }