Cargo Features
[dependencies]
secp256k1-zkp = { version = "0.11.0", default-features = false, features = ["std", "rand-std", "recovery", "lowmemory", "global-context", "hashes", "serde", "rand"] }
- default = std
-
The
std
feature is set by default wheneversecp256k1-zkp
is added without
somewhere in the dependency tree.default-features = false - std default global-context?
-
Enables std of secp256k1 ^0.29.0 and secp256k1-zkp-sys
- rand-std global-context?
-
Enables rand-std of secp256k1 ^0.29.0 and std of rand
rand:
Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.
- recovery
-
Enables recovery of secp256k1 ^0.29.0 and secp256k1-zkp-sys
- lowmemory
-
Enables lowmemory of secp256k1 ^0.29.0 and secp256k1-zkp-sys
- global-context = rand-std, std
-
Enables global-context of secp256k1 ^0.29.0
- hashes
-
Enables hashes of secp256k1 ^0.29.0
- serde = actual-serde
-
Enables serde of secp256k1 ^0.29.0
- rand = actual-rand
-
Enables rand of secp256k1 ^0.29.0
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.
- actual-serde serde?
-
Enables serde
- actual-rand rand? rand-std?
-
Enables rand