Cargo Features
[dependencies]
crypto-utils = { version = "0.4.1", default-features = false, features = ["full", "sha", "jwt"] }
- default = full
-
The
full
feature is set by default whenevercrypto-utils
is added without
somewhere in the dependency tree.default-features = false - full default = jwt, sha
- sha full = hmac, sha1, sha2
-
Affects
crypto-utils::sha
… - jwt full = chrono, jsonwebtoken, serde
-
Affects
crypto-utils::jsonwebtoken
…
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.