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 whenever lambda_runtime is added without default-features = false somewhere in the dependency tree.

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.

opentelemetry-semantic-conventions opentelemetry?

Enables opentelemetry-semantic-conventions ^0.14