]> Untitled Git - bdk/commitdiff
feat(bitcoind_rpc)!: depend on `bdk_core` instead of `bdk_chain`
author志宇 <hello@evanlinjin.me>
Fri, 23 Aug 2024 18:38:55 +0000 (18:38 +0000)
committer志宇 <hello@evanlinjin.me>
Sat, 24 Aug 2024 16:22:34 +0000 (16:22 +0000)
crates/bitcoind_rpc/Cargo.toml
crates/bitcoind_rpc/src/lib.rs

index bee58efa12ade9bca1d0384c3476b1a89b623357..e601d6fe26bdefeac4a1e1a09381c048056f36c0 100644 (file)
@@ -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"]
index ce5e863bb0773f8c708276cd8754cc74262a8cad..49121ceade770516468ff1a88affb477fdb3d520 100644 (file)
@@ -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;