Cargo Features

[dependencies]
oauth10a = { version = "2.0.1", default-features = false, features = ["client", "logging", "tracing", "tokio", "metrics"] }
default = client, logging

These default features are set whenever oauth10a is added without default-features = false somewhere in the dependency tree.

client default = async-trait, base64, bytes, cidr, crypto-common, hmac, reqwest, serde, serde_json, sha2, thiserror, url, urlencoding, uuid

Affects oauth10a::client

logging default = log

Enables log-always of tracing

tracing logging = tracing-futures

Enables tracing

tokio

Enables tokio of tracing-futures

metrics = prometheus

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-trait client
base64 client
bytes client
cidr client
crypto-common client
hmac client
log logging
prometheus metrics?
reqwest client
serde client
serde_json client
sha2 client
thiserror client
tracing-futures tokio? tracing?
url client
urlencoding client
uuid client