Cargo Features
[dependencies]
mwc-libp2p-core = { version = "0.27.3", default-features = false, features = ["secp256k1"] }
- default = secp256k1
-
The
secp256k1
feature is set by default whenevermwc-libp2p-core
is added without
somewhere in the dependency tree.default-features = false - secp256k1 default = libsecp256k1
-
Affects
identity::secp256k1
…
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.
- libsecp256k1 secp256k1
-
Enables libsecp256k1 ^0.3.1