Cargo Features
[dependencies]
jwt-simple = { version = "0.12.10", default-features = false, features = ["cwt", "optimal", "pure-rust", "wasi-abi2"] }
- default = optimal
-
The
optimal
feature is set by default wheneverjwt-simple
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::cwt_token
… - optimal default = boring
- pure-rust = superboring
-
Note: to emulate boringssl, "default-features = false" is required in addition to "pure-rust".
- wasi-abi2
-
Enables wasi-abi2 of coarsetime
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.