Cargo Features
[dependencies]
sdjwt = { version = "0.7.3", default-features = false, features = ["ring", "noring"] }
- default = ring
-
The
ring
feature is set by default wheneversdjwt
is added without
somewhere in the dependency tree.default-features = false - ring default = jsonwebtoken
-
Affects
validation::Validation.required_spec_claims
,validation::Validation.validate_aud
,validation::Validation.iss
… - noring = jsonwebtoken-rustcrypto, serde_plain
-
Affects
validation::Validation.iss
…
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.