Cargo Features

[dependencies]
jwt-simple = { version = "0.12.11", default-features = false, features = ["cwt", "optimal", "pure-rust", "wasi-abi2"] }
default = optimal

The optimal feature is set by default whenever jwt-simple is added without default-features = false somewhere in the dependency tree.

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.

ciborium cwt?
boring not wasm32 wasm64 optimal
superboring not wasm32 wasm64 pure-rust?