1 2 3 4 5 6 7 8 9
use cot::router::{Route, Router}; async fn test(_invalid: ()) -> cot::Result<cot::response::Response> { unimplemented!() } fn main() { let _ = Router::with_urls([Route::with_handler("/", test)]); }