Cargo Features
[dependencies]
secp = { version = "0.4.1", default-features = false, features = ["cli-rng", "secp256k1", "k256", "serde", "rand", "secp256k1-invert", "num-traits"] }
- default = secp256k1
-
The
secp256k1
feature is set by default wheneversecp
is added without
somewhere in the dependency tree.default-features = false - cli-rng = rand
-
rand:
Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.
- secp256k1 default
-
Enables secp256k1
- k256
-
Enables k256
- serde
- rand cli-rng?
- secp256k1-invert
-
Enables crypto-bigint
- num-traits
-
Enables num-traits
secp has 8 features without comments.