Cargo Features

[dependencies]
secp256k1-sys = { version = "0.10.1", default-features = false, features = ["std", "alloc", "recovery", "lowmemory"] }
default = std

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

std default = alloc
alloc std

Affects secp256k1-sys::secp256k1_context_create, secp256k1-sys::rustsecp256k1_v0_10_0_context_create, secp256k1-sys::secp256k1_context_destroy, secp256k1-sys::rustsecp256k1_v0_10_0_context_destroy

recovery

Affects secp256k1-sys::recovery

lowmemory