MCPcopy Create free account
hub / github.com/Rust-Web-Development/code / main

Function main

ch_02/src/main.rs:40–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38
39#[tokio::main]
40async fn main() {
41 let hello = warp::get()
42 .map(|| format!("Hello, World!"));
43
44 warp::serve(hello)
45 .run(([127, 0, 0, 1], 3030))
46 .await;
47}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected