Cargo Features
[dependencies]
etcommon-block = { version = "0.5.2", default-features = false, features = ["c-secp256k1", "rust-secp256k1"] }
- default = c-secp256k1
-
The
c-secp256k1
feature is set by default wheneveretcommon-block
is added without
somewhere in the dependency tree.default-features = false - c-secp256k1 default = secp256k1-plus
- rust-secp256k1 = libsecp256k1
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.