Cargo Features
[dependencies]
lambda_http = { version = "0.14.0", default-features = false, features = ["apigw_websockets", "alb", "pass_through", "tracing", "opentelemetry", "anyhow", "eyre", "miette"] }
- default = alb, apigw_http, apigw_rest, apigw_websockets, tracing
-
These default features are set whenever
lambda_http
is added without
somewhere in the dependency tree.default-features = false - apigw_rest apigw_http apigw_websockets default
- alb default
- pass_through
- tracing default
-
enables access to the Tracing utilities
Enables tracing of lambda_runtime
- opentelemetry
-
enables access to the OpenTelemetry layers and utilities
Enables opentelemetry of lambda_runtime
- anyhow
-
enables From<T> for Diagnostic for anyhow error types, see README.md for more info
Enables anyhow of lambda_runtime
- eyre
-
enables From<T> for Diagnostic for eyre error types, see README.md for more info
Enables eyre of lambda_runtime
- miette
-
enables From<T> for Diagnostic for miette error types, see README.md for more info
Enables miette of lambda_runtime