Cargo Features
[dependencies]
tenet = { version = "0.0.4", default-features = false, features = ["HS256", "HS512", "http"] }
- default = HS256
-
The
HS256
feature is set by default whenevertenet
is added without
somewhere in the dependency tree.default-features = false - HS256 default = hmac, sha2
- HS512 = hmac, sha2
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.