MCPcopy Index your code
hub / github.com/aws/aws-lambda-rust-runtime / main

Function main

examples/extension-basic/src/main.rs:16–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14
15#[tokio::main]
16async fn main() -> Result<(), Error> {
17 // required to enable CloudWatch error logging by the runtime
18 tracing::init_default_subscriber();
19
20 let func = service_fn(my_extension);
21 lambda_extension::run(func).await
22}

Callers

nothing calls this directly

Calls 2

init_default_subscriberFunction · 0.85
runFunction · 0.50

Tested by

no test coverage detected