Enable rust-bip39 "rand" feature on bip39
(optional) dependency.
#1546
Labels
new feature
New feature or request
bip39
(optional) dependency.
#1546
Describe the enhancement
Enable rust-bip39
rand
feature by default or using another feature onbdk_wallet
. This will make generate_with_in method available.Use case
Provide the full API of rust-bip39 for developers that want to use
bdk_wallet
to crate bip39 mnemonics and don't want to worry about creating the entropy themselves. Instead of having to implement logic to create some entropy from 12-24 words, developers could usebdk_wallet::keys::bip39::Mnemonic::generate_in_with(&mut rng, Language::English, 24)
.Additional context
bdk_wallet
re-exports rust-bip39 but does not provide its full functionality because rust-bip39 maderand_core
andrand
optional dependencies in this commit.bdk_wallet
already depends onrand_core
(0.6.0)Suggested solution
Either enable
rand
per default:Or enable it with another feature:
The text was updated successfully, but these errors were encountered: