]> Untitled Git - bdk-cli/commitdiff
refactor: add docs,version and change visibility
authorcodingp110 <codingp110@gmail.com>
Tue, 15 Jul 2025 07:21:18 +0000 (12:51 +0530)
committercodingp110 <codingp110@gmail.com>
Mon, 25 Aug 2025 17:54:33 +0000 (23:24 +0530)
Since the user does not need to know about how commands are being
handled.

Cargo.lock
Cargo.toml
src/persister.rs

index 6daa9c6480448a9466031ddafe0314311594c397..58cb3f0faf1eaf9b54f74cdd5b1c4cd9eb29fac5 100644 (file)
@@ -269,7 +269,8 @@ dependencies = [
 [[package]]
 name = "bdk_redb"
 version = "0.1.0"
-source = "git+https://github.com/110CodingP/bdk_redb#9985249c3f22489ccaf4ae09138fae950eca774b"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f69a501c17da6d90243c112a6ad07955eadd5cd321da663283040b29e724c70d"
 dependencies = [
  "bdk_chain",
  "bdk_wallet",
index a72b7af3fb8f8888d875d51a9465436ab5655fad..06d9f6650203bfa13c034d87ba5bdde15ad26046 100644 (file)
@@ -26,7 +26,7 @@ bdk_bitcoind_rpc = { version = "0.20.0", optional = true }
 bdk_electrum = { version = "0.23.0", optional = true }
 bdk_esplora = { version = "0.22.0", features = ["async-https", "tokio"], optional = true }
 bdk_kyoto = { version = "0.11.0", optional = true }
-bdk_redb = { git = "https://github.com/110CodingP/bdk_redb", optional = true }
+bdk_redb = { version = "0.1.0", optional = true }
 shlex = {  version = "1.3.0", optional = true }
 tracing = "0.1.41"
 tracing-subscriber = "0.3.19"
index 450af5c599b553c3713d381b3d834f04903d71fc..1f9a742c3aa6d050d53923473fc2c076daea63e8 100644 (file)
@@ -1,7 +1,8 @@
 use crate::error::BDKCliError;
 use bdk_wallet::WalletPersister;
 
-pub enum Persister {
+// Types of Persistence backends supported by bdk-cli
+pub(crate) enum Persister {
     #[cfg(feature = "sqlite")]
     Connection(bdk_wallet::rusqlite::Connection),
     #[cfg(feature = "redb")]