Cargo Features
[dependencies]
did-method-key = { version = "0.3.1", default-features = false, features = ["secp256k1", "secp256r1", "secp384r1", "bbs"] }
- default = secp256k1, secp256r1
-
These default features are set whenever
did-method-key
is added without
somewhere in the dependency tree.default-features = false - secp256k1 default = k256
-
ssi-jwk:
Enable secp256k1 keys.
- secp256r1 default = p256
-
ssi-jwk:
Enable secp256r1 (p256) keys.
- secp384r1
-
ssi-jwk:
Enable secp384r1 (p384) keys.
- bbs
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.