Cargo Features

opentelemetry-contrib has no features set by default.

[dependencies]
opentelemetry-contrib = { version = "0.18.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 ^0.26

rt-tokio-current-thread = tokio

Enables rt-tokio-current-thread of opentelemetry_sdk ^0.26

rt-async-std = async-std

Enables rt-async-std of opentelemetry_sdk ^0.26

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?

Enables opentelemetry_sdk ^0.26

opentelemetry-semantic-conventions jaeger_json_exporter?

Enables opentelemetry-semantic-conventions ^0.26

serde_json jaeger_json_exporter?
tokio rt-tokio? rt-tokio-current-thread?