Cargo Features
[dependencies]
opentelemetry-spanprocessor-any = { version = "0.17.0", default-features = false, features = ["trace", "metrics", "serialize", "rt-tokio", "rt-tokio-current-thread", "rt-async-std", "testing"] }
- default = trace
-
The
trace
feature is set by default wheneveropentelemetry-spanprocessor-any
is added without
somewhere in the dependency tree.default-features = false - trace default testing? = async-trait, crossbeam-channel, percent-encoding, pin-project, rand
-
Affects
opentelemetry-spanprocessor-any::trace
,export::trace
,sdk::propagation
,sdk::trace
… - metrics testing? = dashmap, fnv
-
Affects
opentelemetry-spanprocessor-any::attributes
,opentelemetry-spanprocessor-any::metrics
,export::metrics
,sdk::metrics
… - serialize = serde
- rt-tokio testing? = tokio, tokio-stream
-
Affects
runtime::Tokio
,util::tokio_interval_stream
… - rt-tokio-current-thread testing? = tokio, tokio-stream
-
Affects
runtime::TokioCurrentThread
,util::tokio_interval_stream
… - rt-async-std testing? = async-std
-
Affects
runtime::AsyncStd
… - testing = metrics, rt-async-std, rt-tokio, rt-tokio-current-thread, trace
-
Enables macros and rt-multi-thread of tokio
Affects
opentelemetry-spanprocessor-any::testing
…
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.