Cargo Features
[dependencies]
lambda_runtime = { version = "0.13.0", default-features = false, features = ["tracing", "opentelemetry", "anyhow", "eyre", "miette"] }
- default = tracing
-
The
tracing
feature is set by default wheneverlambda_runtime
is added without
somewhere in the dependency tree.default-features = false - tracing default
-
enables access to the Tracing utilities
Enables tracing of lambda_runtime_api_client
- opentelemetry = opentelemetry-semantic-conventions
-
enables access to the OpenTelemetry layers and utilities
- anyhow
-
enables From<T> for Diagnostic for anyhow error types, see README.md for more info
Enables anyhow
- eyre
-
enables From<T> for Diagnostic for eyre error types, see README.md for more info
Enables eyre
- miette
-
enables From<T> for Diagnostic for miette error types, see README.md for more info
Enables miette
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.