Cargo Features

[dependencies]
telemetry-rust = { version = "3.0.0", default-features = false, features = ["full", "zipkin", "axum", "hyper-v1", "aws-span", "aws-instrumentation", "aws", "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, test
zipkin default

Enables opentelemetry-zipkin

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?

Enables async-trait and futures-util

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

Enables opentelemetry_api, rand, serde, and serde_json

Affects telemetry-rust::test