From 513ea22a736543a958c29c3a8ca480ed59d694a0 Mon Sep 17 00:00:00 2001 From: thunderbiscuit Date: Thu, 27 Jun 2024 15:24:13 -0400 Subject: [PATCH] fix: use set version of bdk_chain for ffi builds --- crates/electrum/Cargo.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/electrum/Cargo.toml b/crates/electrum/Cargo.toml index a38227dae..bed760493 100644 --- a/crates/electrum/Cargo.toml +++ b/crates/electrum/Cargo.toml @@ -12,10 +12,10 @@ readme = "README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -# Keeping the path here breaks the build when using the fork as a dependency; remove once #135 is merged -# and #1491 is ready to go in -bdk_chain = { path = "../chain", version = "0.17.0" } -# bdk_chain = { version = "0.17.0" } +# Keeping the path here breaks the build when using the fork as a dependency #135 has the first line instead but for building +# the bindings we need the second line + bdk_chain = { path = "../chain", version = "0.17.0" } +#bdk_chain = { version = "0.17.0" } # Switch the lines below once https://github.com/bitcoindevkit/rust-electrum-client/pull/135 is merged and a new version is released # electrum-client = { version = "0.21", default-features = false } electrum-client = { git = "https://github.com/thunderbiscuit/rust-electrum-client/", branch = "feature/rustls-ring", default-features = false }