Cargo Features
[dependencies]
did-pkh = { version = "0.3.1", default-features = false, features = ["ripemd-160", "eip", "tezos", "aleo", "solana"] }
- default = eip, ripemd-160, tezos
-
These default features are set whenever
did-pkh
is added without
somewhere in the dependency tree.default-features = false - ripemd-160 default
-
Enables ripemd-160 of ssi-caips and ssi-jwk
ssi-jwk:
enable ripemd-160 hashing for keys, e.g. for bitcoin.
- eip default
-
Enables eip of ssi-caips and ssi-jwk
ssi-jwk:
enable ethereum style key hashing.
- tezos default
-
Enables tezos of ssi-caips and ssi-jwk
ssi-jwk:
enable tezos style key hashing.
- aleo
-
Enables aleo of ssi-caips and ssi-jwk
ssi-caips:
Enable aleo accounts.
Not compatible with WASM targets. - solana
DIDPKH has 6 features without comments.