Cargo Features

[dependencies]
aliri_jose = { version = "0.2.0", default-features = false, features = ["ec", "rsa", "hmac", "private-keys", "unstable"] }
default = hmac, rsa

These default features are set whenever aliri_jose is added without default-features = false somewhere in the dependency tree.

ec = openssl

Affects jwa::ec, test::ec, test::mixed

rsa default

Affects jwa::rsa, test::rsa, test::mixed

hmac default

Affects jwa::hmac, test::hmac, test::mixed

private-keys = openssl

Affects test::rsa.JWK_WITH_PRIVATE_KEY, test::rsa.JWK_WITH_MINIMAL_PRIVATE_KEY, test::ec.JWK_P256_WITH_PRIVATE_KEY, test::ec.JWK_P256_WITH_MINIMAL_PRIVATE_KEY, test::ec.JWK_P384_WITH_PRIVATE_KEY, test::ec.JWK_P384_WITH_MINIMAL_PRIVATE_KEY, test::ec.JWK_P521_WITH_PRIVATE_KEY, test::ec.JWK_P521_WITH_MINIMAL_PRIVATE_KEY

unstable

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.

openssl ec? private-keys?

Enables openssl

EC and Private Key support