MCPcopy Index your code
hub / github.com/Rust-Web-Development/code / run

Function run

ch_11/src/lib.rs:122–125  ·  view source on GitHub ↗
(config: config::Config, store: store::Store)

Source from the content-addressed store, hash-verified

120}
121
122pub async fn run(config: config::Config, store: store::Store) {
123 let routes = build_routes(store).await;
124 warp::serve(routes).run(([0, 0, 0, 0], config.port)).await;
125}
126
127pub async fn oneshot(store: store::Store) -> OneshotHandler {
128 let routes = build_routes(store).await;

Callers 1

mainFunction · 0.50

Calls 1

build_routesFunction · 0.85

Tested by

no test coverage detected