Cargo Features
[dependencies]
bip32 = { version = "0.6.0-pre.0", default-features = false, features = ["std", "alloc", "bip39", "mnemonic", "secp256k1", "secp256k1-ffi"] }
- default = bip39, secp256k1, std
-
These default features are set whenever
bip32
is added without
somewhere in the dependency tree.default-features = false - std default bip39 = alloc
- alloc mnemonic? std
- bip39 default = mnemonic, pbkdf2, std
- mnemonic bip39 = alloc, once_cell
- secp256k1 default = k256
-
Affects
private_key::XPrv
,public_key::XPub
…
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.
- k256 secp256k1
-
Enables k256
optional dependencies
- once_cell mnemonic?
- pbkdf2 bip39
- secp256k1-ffi implicit feature
-
Enables secp256k1 ^0.29