Cargo Features
[dependencies]
jwt-simple-no-nbf-fork = { version = "0.12.9", default-features = false, features = ["cwt", "optimal", "pure-rust"] }
- default = optimal
-
The
optimal
feature is set by default wheneverjwt-simple-no-nbf-fork
is added without
somewhere in the dependency tree.default-features = false - cwt = ciborium
-
Affects
eddsa::EdDSAPublicKeyLike.verify_cwt_token
,es256::ECDSAP256PublicKeyLike.verify_cwt_token
,es256k::ECDSAP256kPublicKeyLike.verify_cwt_token
,es384::ECDSAP384PublicKeyLike.verify_cwt_token
,hmac::MACLike.verify_cwt_token
,rsa::RSAPublicKeyLike.verify_cwt_token
,jwt-simple-no-nbf-fork::cwt_token
… - optimal default = boring
- pure-rust = superboring
-
Note: to emulate boringssl, "default-features = false" is required in addition to "pure-rust".
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.