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 default-features = false somewhere in the dependency tree.

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

reqwest-blocking-client

Enables reqwest of opentelemetry-http ^0.8, blocking of reqwest

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

Enables js of getrandom

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.

async-std rt-async-std?

Enables async-std =1.10.0

base64 wasm?
futures-channel rt-async-std?
getrandom wasm?
isahc isahc-client?
js-sys wasm?
reqwest reqwest-blocking-client? reqwest-client reqwest-rustls
surf surf-client?
tokio rt-tokio
wasm-bindgen wasm?
wasm-bindgen-futures wasm?
web-sys wasm?