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 whenever secp is added without default-features = false somewhere in the dependency tree.

cli-rng = rand

Enables 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.

secp256k1 default

Enables secp256k1

k256

Enables k256

serde

Enables serde and serdect, serde of optional secp256k1

rand cli-rng?

Enables rand, rand of optional secp256k1

secp256k1-invert

Enables crypto-bigint

num-traits

Enables num-traits

secp has 8 features without comments.