From: 志宇 Date: Fri, 23 Aug 2024 18:38:55 +0000 (+0000) Subject: feat(bitcoind_rpc)!: depend on `bdk_core` instead of `bdk_chain` X-Git-Tag: v1.0.0-beta.2~2^2~1 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/struct.EncoderStringWriter.html?a=commitdiff_plain;h=dafb9aaef7d8d4bc83c8ba0845323b92b82fbb3d;p=bdk feat(bitcoind_rpc)!: depend on `bdk_core` instead of `bdk_chain` --- diff --git a/crates/bitcoind_rpc/Cargo.toml b/crates/bitcoind_rpc/Cargo.toml index bee58efa..e601d6fe 100644 --- a/crates/bitcoind_rpc/Cargo.toml +++ b/crates/bitcoind_rpc/Cargo.toml @@ -15,12 +15,13 @@ readme = "README.md" [dependencies] bitcoin = { version = "0.32.0", default-features = false } bitcoincore-rpc = { version = "0.19.0" } -bdk_chain = { path = "../chain", version = "0.17", default-features = false } +bdk_core = { path = "../core", version = "0.1", default-features = false } [dev-dependencies] bdk_testenv = { path = "../testenv", default-features = false } +bdk_chain = { path = "../chain", version = "0.17" } [features] default = ["std"] -std = ["bitcoin/std", "bdk_chain/std"] -serde = ["bitcoin/serde", "bdk_chain/serde"] +std = ["bitcoin/std", "bdk_core/std"] +serde = ["bitcoin/serde", "bdk_core/serde"] diff --git a/crates/bitcoind_rpc/src/lib.rs b/crates/bitcoind_rpc/src/lib.rs index ce5e863b..49121cea 100644 --- a/crates/bitcoind_rpc/src/lib.rs +++ b/crates/bitcoind_rpc/src/lib.rs @@ -9,7 +9,7 @@ //! mempool. #![warn(missing_docs)] -use bdk_chain::{local_chain::CheckPoint, BlockId}; +use bdk_core::{BlockId, CheckPoint}; use bitcoin::{block::Header, Block, BlockHash, Transaction}; pub use bitcoincore_rpc; use bitcoincore_rpc::bitcoincore_rpc_json;