Cargo Features

[dependencies]
telemetry-rust = { version = "3.1.0", default-features = false, features = ["full", "zipkin", "future", "axum", "hyper-v1", "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.20

future aws-instrumentation? aws-lambda?

Enables pin-project-lite

Affects telemetry-rust::future

axum test?

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

Affects middleware::axum

hyper-v1

Enables http-body-util and hyper

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

Affects middleware::lambda

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

Enables opentelemetry_api, rand, serde, and serde_json

Affects telemetry-rust::test