From 9f39e53b0623d64b421923f219f89a4cd9972174 Mon Sep 17 00:00:00 2001 From: Alekos Filini Date: Fri, 18 Sep 2020 17:26:58 +0200 Subject: [PATCH] [keys] Add BIP39 support --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 9d12a8e..8d18e37 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,6 +24,7 @@ async-trait = { version = "0.1", optional = true } rocksdb = { version = "0.14", optional = true } socks = { version = "0.3", optional = true } lazy_static = { version = "1.4", optional = true } +tiny-bip39 = { version = "^0.7", optional = true } [patch.crates-io] bitcoin = { git = "https://github.com/rust-bitcoin/rust-bitcoin/", rev = "478e091" } @@ -48,6 +49,8 @@ compact_filters = ["rocksdb", "socks", "lazy_static"] key-value-db = ["sled"] cli-utils = ["clap", "base64"] async-interface = ["async-trait"] +all-keys = ["keys-bip39"] +keys-bip39 = ["tiny-bip39"] # Debug/Test features debug-proc-macros = ["bdk-macros/debug", "bdk-testutils-macros/debug"] -- 2.49.0