From 57fe104d9c8d3bbe781e3007552f193b0be0bd18 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Fri, 1 Oct 2021 10:00:58 +1000 Subject: [PATCH] Selectively depend on bdk features --- cfd_protocol/Cargo.toml | 2 +- daemon/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cfd_protocol/Cargo.toml b/cfd_protocol/Cargo.toml index 8170ade..69def5c 100644 --- a/cfd_protocol/Cargo.toml +++ b/cfd_protocol/Cargo.toml @@ -5,7 +5,7 @@ edition = "2018" [dependencies] anyhow = "1" -bdk = { version = "0.12" } +bdk = { version = "0.12", default-features = false } bit-vec = "0.6" itertools = "0.10" rand = "0.6" diff --git a/daemon/Cargo.toml b/daemon/Cargo.toml index f52c2f5..123842e 100644 --- a/daemon/Cargo.toml +++ b/daemon/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" anyhow = "1" async-trait = "0.1.51" atty = "0.2" -bdk = { version = "0.12" } +bdk = { version = "0.12", default-features = false, features = ["key-value-db", "electrum"] } bytes = "1" cfd_protocol = { path = "../cfd_protocol" } clap = "3.0.0-beta.4"