Cargo Features

secp256k1-zkp = { version = "0.10.1", default-features = false, features = ["std", "rand-std", "recovery", "lowmemory", "global-context", "hashes", "serde", "rand"] }
default = std

The std feature is set by default whenever secp256k1-zkp is added without default-features = false somewhere in the dependency tree.

std default global-context?

Enables std of secp256k1 ^0.28.0 and secp256k1-zkp-sys

rand-std global-context?

Enables rand-std of secp256k1 ^0.28.0 and std of rand


Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.


Enables recovery of secp256k1 ^0.28.0 and secp256k1-zkp-sys


Enables lowmemory of secp256k1 ^0.28.0 and secp256k1-zkp-sys

global-context = rand-std, std

Enables global-context of secp256k1 ^0.28.0


Enables hashes of secp256k1 ^0.28.0

serde = actual-serde

Enables serde of secp256k1 ^0.28.0

rand = actual-rand

Enables rand of secp256k1 ^0.28.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