From: codingp110 Date: Tue, 15 Jul 2025 07:21:18 +0000 (+0530) Subject: refactor: add docs,version and change visibility X-Git-Tag: v2.0.0~5^2 X-Git-Url: http://internal-gitweb-vhost/?a=commitdiff_plain;h=83e6dd6e9ccd9c9cb5414f02da505a4e4810b41d;p=bdk-cli refactor: add docs,version and change visibility Since the user does not need to know about how commands are being handled. --- diff --git a/Cargo.lock b/Cargo.lock index 6daa9c6..58cb3f0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/Cargo.toml b/Cargo.toml index a72b7af..06d9f66 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/src/persister.rs b/src/persister.rs index 450af5c..1f9a742 100644 --- a/src/persister.rs +++ b/src/persister.rs @@ -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")]