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