Cargo Features
[dependencies]
oauth2-broker = { version = "0.1.3", default-features = false, features = ["test", "metrics", "reqwest", "tracing"] }
- default = reqwest
-
The
reqwestfeature is set by default wheneveroauth2-brokeris added withoutsomewhere in the dependency tree.default-features = false - test
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.
- metrics implicit feature
-
Enables metrics
crates.io optional
- reqwest default
-
Enables reqwest ^0.12
Affects
flows::ReqwestBroker,http::ReqwestHttpClient,http::InstrumentedHandle,oauth::ReqwestTransportErrorMapper… - tracing implicit feature
-
Enables tracing
tracing:
Application-level tracing for Rust
Affects
tracing::InstrumentedFlow…