()
| 2 | |
| 3 | #[tokio::main] |
| 4 | async fn main() { |
| 5 | let hello = warp::path("hello") |
| 6 | .and(warp::path::param()) |
| 7 | .map(|name: String| format!("Hello, {}!", name)); |
| 8 | |
| 9 | warp::serve(hello) |
| 10 | .run(([127, 0, 0, 1], 1337)) |
| 11 | .await; |
| 12 | } |
nothing calls this directly
no outgoing calls
no test coverage detected