Cargo Features

[dependencies]
oauth2-broker = { version = "0.1.3", default-features = false, features = ["test", "metrics", "reqwest", "tracing"] }
default = reqwest

The reqwest feature is set by default whenever oauth2-broker is added without default-features = false somewhere in the dependency tree.

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