Cargo Features

[dependencies]
identity_credential = { version = "1.4.0", default-features = false, features = ["credential", "presentation", "revocation-bitmap", "status-list-2021", "validator", "domain-linkage", "domain-linkage-fetch", "sd-jwt", "jpt-bbs-plus"] }
default = credential, domain-linkage-fetch, presentation, revocation-bitmap, sd-jwt, validator

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

credential default jpt-bbs-plus? presentation sd-jwt validator

Affects identity_credential::credential

presentation default validator = credential

Affects identity_credential::presentation

revocation-bitmap default status-list-2021?

Enables flate2 and roaring

Affects identity_credential::revocation

status-list-2021 = revocation-bitmap

Affects revocation::status_list_2021

validator default domain-linkage? jpt-bbs-plus? sd-jwt = credential, presentation

Enables itertools ^0.11 and serde_repr

Affects identity_credential::validator

domain-linkage domain-linkage-fetch = validator

Affects identity_credential::domain_linkage

domain-linkage-fetch default = domain-linkage

Enables futures and reqwest ^0.11

sd-jwt default = credential, validator

Enables sd-jwt-payload

jpt-bbs-plus = credential, validator

Enables bls12_381_plus, json-proof-token, and zkryptium ^0.2.2

Affects revocation::validity_timeframe_2024