Cargo Features

[dependencies]
telemetry-rust = { version = "3.4.0", default-features = false, features = ["full", "zipkin", "future", "axum", "aws-span", "aws-instrumentation", "aws-lambda", "aws", "aws-full", "test"] }
default = zipkin

The zipkin feature is set by default whenever telemetry-rust is added without default-features = false somewhere in the dependency tree.

full = aws-full, test
zipkin default

Enables opentelemetry-zipkin ^0.25

future aws-instrumentation? aws-lambda?

Enables pin-project-lite

Affects telemetry-rust::future

axum test?

Enables axum, futures-util, pin-project-lite, and tower ^0.4

Affects middleware::axum

aws-span aws?

Enables aws-types and paste

Affects middleware::aws

aws-instrumentation aws? = future
aws-lambda aws-full? = future

Enables lambda_runtime and tower ^0.4

Affects middleware::lambda

aws aws-full? = aws-instrumentation, aws-span
aws-full full? = aws, aws-lambda
test full? = axum

Enables http-body-util, opentelemetry_api, rand, serde, and serde_json

Affects telemetry-rust::test