Cargo Features

[dependencies]
aliri = { version = "0.6.4", default-features = false, features = ["ec", "rsa", "hmac", "private-keys", "no-unstable", "tracing"] }
default = hmac, rsa

These default features are set whenever aliri 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 no-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.

tracing implicit feature

Enables tracing

tracing:

Application-level tracing for Rust

openssl ec? private-keys?

Enables openssl

EC and Private Key support