use tokio; use warp::Filter; #[tokio::main] async fn main() { let hello = warp::path!("hello" / String) .and_then(|name| format!("Hello, {}!", name)) .or(|rip| _); warp::serve(hello) .run(([127, 0, 0, 1], 3030)) .await; }