aws-cli-tools / chaos-lambda-extension

The lambda-chaos-extension allows you to inject faults into Lambda functions without modifying the function code.
Apache License 2.0
27 stars 0 forks source link

Use state in axum and replace global lazy initialization #7

Closed having-fun-serverless closed 1 year ago

having-fun-serverless commented 1 year ago

See https://docs.rs/axum/latest/axum/index.html#sharing-state-with-handlers