()
| 15 | |
| 16 | #[tokio::main] |
| 17 | async fn main() -> Result<(), Error> { |
| 18 | // required to enable CloudWatch error logging by the runtime |
| 19 | tracing::init_default_subscriber(); |
| 20 | |
| 21 | let logs_processor = SharedService::new(service_fn(handler)); |
| 22 | |
| 23 | Extension::new().with_logs_processor(logs_processor).run().await?; |
| 24 | |
| 25 | Ok(()) |
| 26 | } |
nothing calls this directly
no test coverage detected