Cargo Features

[dependencies]
shuttle-runtime = { version = "0.52.0", default-features = false, features = ["api-client-tracing", "setup-tracing", "setup-otel-exporter"] }
default = setup-tracing

The setup-tracing feature is set by default whenever shuttle-runtime is added without default-features = false somewhere in the dependency tree.

api-client-tracing

Enables tracing of shuttle-api-client

setup-tracing default setup-otel-exporter?

Enables ansi, env-filter, fmt, smallvec, std and tracing-log of tracing-subscriber

setup-otel-exporter = setup-tracing

Enables log, opentelemetry ^0.27.0, opentelemetry-otlp ^0.27.0, opentelemetry-semantic-conventions ^0.27.0, opentelemetry_sdk ^0.27.0, tracing-core, tracing-log, and tracing-opentelemetry ^0.28.0, alloc, parking_lot, tracing and tracing-serde of tracing-subscriber

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.

tracing-subscriber setup-otel-exporter? setup-tracing