Cargo Features

did-method-key = { version = "0.2.2", default-features = false, features = ["secp256k1", "secp256r1", "secp384r1"] }
default = secp256k1, secp256r1

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

secp256k1 default = k256

Enables secp256k1 of ssi-jwk


enable secp256k1 keys

secp256r1 default = p256

Enables secp256r1 of ssi-jwk


enable secp256r1 (p256) keys


Enables secp384r1 of ssi-jwk


enable secp384r1 (p384) keys

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.

k256 secp256k1
p256 secp256r1