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