Cargo Features
[dependencies]
oauth10a = { version = "2.1.1", default-features = false, features = ["client", "logging", "tracing", "metrics"] }
- default = client, logging
-
These default features are set whenever
oauth10a
is added without
somewhere in the dependency tree.default-features = false - client default = base64, bytes, 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
-
Enables tracing
- 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.