Cargo Features

[dependencies]
sd-jwt-payload = { version = "0.2.1", default-features = false, features = ["sha"] }
default = sha

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

sha default = iota-crypto

Affects encoder::SdObjectEncoder, hasher::Sha256Hasher

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.

iota-crypto sha