Cargo Features

[dependencies]
selective-disclosure-jwt = { version = "0.0.4", default-features = false, features = ["issuer", "holder", "verifier"] }
default = holder, issuer

TODO: to facilitate dev in early phases, remove once mature enough

issuer default = base64ct, getrandom, jwt-simple, rand_chacha, sha2

Affects crypto::backend

holder default = base64ct, jwt-simple, sha2
verifier = base64ct, jwt-simple, sha2

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.

jwt-simple holder issuer verifier?

Enables jwt-simple ^0.11

base64ct holder issuer verifier?
rand_chacha issuer

Enables rand_chacha

crypto

sha2 holder issuer verifier?
getrandom issuer