Cargo Features
[dependencies]
bip32 = { version = "0.6.0-pre.1", default-features = false, features = ["std", "alloc", "bip39", "mnemonic", "secp256k1", "secp256k1-ffi"] }
- default = bip39, secp256k1, std
-
These default features are set whenever
bip32is added withoutsomewhere in the dependency tree.default-features = false - std default bip39 = alloc
- alloc mnemonic? std
-
Enables alloc of optional secp256k1 ^0.29 and zeroize
secp256k1:
allow use of Secp256k1::new and related API that requires an allocator
- 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 =0.14.0-pre.2
optional dependencies
- once_cell mnemonic?
- pbkdf2 bip39
-
Enables pbkdf2 =0.13.0-pre.1
- secp256k1-ffi implicit feature
-
Enables secp256k1 ^0.29