Cargo Features

[dependencies]
oauth10a = { version = "1.5.1", default-features = false, features = ["client", "logging", "trace", "tokio", "metrics", "proxy"] }
default = client, logging, proxy

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

client default = async-trait, base64, bytes, crypto-common, hmac, hyper, hyper-rustls, serde, serde_json, sha2, thiserror, urlencoding, uuid

Enables client, http1 and tcp of hyper ^0.14.27

Affects oauth10a::client

logging default = log

Enables logging of hyper-rustls ^0.24.0, log-always of tracing

trace = tracing, tracing-futures
tokio

Enables tokio of tracing-futures

metrics = once_cell, prometheus
proxy default = cidr, headers, hyper-proxy, url

Affects client::proxy

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

Enables base64 ^0.21.2

bytes client
cidr proxy

Enables cidr ^0.2.2

crypto-common client
headers proxy

Enables headers ^0.3.8

hmac client
hyper client

Enables hyper ^0.14.27

hyper-rustls client logging

Enables hyper-rustls ^0.24.0

hyper-proxy proxy
once_cell metrics?
log logging
prometheus metrics?
serde client
serde_json client
sha2 client
thiserror client

Enables thiserror ^1.0.44

tracing logging trace?
tracing-futures tokio? trace?
url proxy
urlencoding client
uuid client