Cargo Features
[dependencies]
opentelemetry-stackdriver = { version = "0.24.0", default-features = false, features = ["gcp-authorizer", "tls-native-roots", "tls-webpki-roots", "propagator", "internal-logs"] }
- default = gcp-authorizer, internal-logs, tls-native-roots
-
These default features are set whenever
opentelemetry-stackdriver
is added without
somewhere in the dependency tree.default-features = false -
Enables gcp_auth
Affects
opentelemetry-stackdriver::GcpAuthorizer
… - tls-native-roots default
-
tonic:
Deprecated. Please use
tls-native-roots
instead. - tls-webpki-roots
-
Enables tls-webpki-roots of tonic
- propagator = once_cell
-
Affects
opentelemetry-stackdriver::google_trace_context_propagator
… - internal-logs default = tracing
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.