use rs_express::{App, NextFunction, Request, Response}; #[tokio::main] async fn main() { let mut app: App<()> = App::new(); app.get( "/", |_req: &mut Request<()>, res: &mut Response, _next: &mut NextFunction| { res.send("Hello, World"); }, ); app.listen(3000).await.expect("Failed to listen"); }