Cargo Features

opentelemetry-contrib has no features set by default.

[dependencies]
opentelemetry-contrib = { version = "0.19.0", features = ["api", "base64_format", "binary_propagator", "jaeger_json_exporter", "rt-tokio", "rt-tokio-current-thread", "rt-async-std"] }
api
base64_format = base64, binary_propagator
binary_propagator base64_format?
jaeger_json_exporter = async-trait, futures-core, futures-util, opentelemetry-semantic-conventions, opentelemetry_sdk, serde_json

Affects exporter::jaeger_json

rt-tokio = tokio

Enables rt-tokio of opentelemetry_sdk

rt-tokio-current-thread = tokio

Enables rt-tokio-current-thread of opentelemetry_sdk

rt-async-std = async-std

Enables rt-async-std of opentelemetry_sdk

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.

async-std rt-async-std?
async-trait jaeger_json_exporter?
base64 base64_format?

Enables base64 ^0.13

futures-core jaeger_json_exporter?
futures-util jaeger_json_exporter?
opentelemetry_sdk jaeger_json_exporter? rt-async-std? rt-tokio? rt-tokio-current-thread?
opentelemetry-semantic-conventions jaeger_json_exporter?
serde_json jaeger_json_exporter?
tokio rt-tokio? rt-tokio-current-thread?