Cargo Features
[dependencies]
opentelemetry-dynatrace = { version = "0.4.0", default-features = false, features = ["metrics", "reqwest-client", "reqwest-rustls", "reqwest-blocking-client", "surf-client", "isahc-client", "rt-tokio", "rt-async-std", "wasm"] }
- default = metrics, reqwest-client, reqwest-rustls, rt-tokio
-
These default features are set whenever
opentelemetry-dynatrace
is added without
somewhere in the dependency tree.default-features = false - metrics default
-
Enables metrics of opentelemetry ^0.19
- reqwest-client default = reqwest
-
Enables reqwest of opentelemetry-http ^0.8
- reqwest-rustls default
-
Enables rustls-tls-native-roots of reqwest ^0.11
- reqwest-blocking-client
-
Enables reqwest of opentelemetry-http ^0.8, blocking of reqwest ^0.11
- surf-client = surf
-
Enables surf of opentelemetry-http ^0.8
- isahc-client = isahc
-
Enables isahc of opentelemetry-http ^0.8
- rt-tokio default = tokio
-
Enables rt-tokio of opentelemetry ^0.19
- rt-async-std = async-std, futures-channel
- wasm = base64, js-sys, wasm-bindgen, wasm-bindgen-futures, web-sys
-
getrandom:
Feature to enable JavaScript bindings on wasm*-unknown-unknown
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?
-
Enables async-std =1.10.0
- base64 wasm?
-
Enables base64 ^0.21
- futures-channel rt-async-std?
- getrandom wasm?
- isahc isahc-client?
- js-sys wasm?
- reqwest reqwest-blocking-client? reqwest-client reqwest-rustls
-
Enables reqwest ^0.11
- surf surf-client?
- tokio rt-tokio
- wasm-bindgen wasm?
- wasm-bindgen-futures wasm?
- web-sys wasm?