Skip to content

Commit 83e6dd6

Browse files
committed
refactor: add docs,version and change visibility
Since the user does not need to know about how commands are being handled.
1 parent 7bcbcf0 commit 83e6dd6

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Cargo.lock

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ bdk_bitcoind_rpc = { version = "0.20.0", optional = true }
2626
bdk_electrum = { version = "0.23.0", optional = true }
2727
bdk_esplora = { version = "0.22.0", features = ["async-https", "tokio"], optional = true }
2828
bdk_kyoto = { version = "0.11.0", optional = true }
29-
bdk_redb = { git = "https://github.com/110CodingP/bdk_redb", optional = true }
29+
bdk_redb = { version = "0.1.0", optional = true }
3030
shlex = { version = "1.3.0", optional = true }
3131
tracing = "0.1.41"
3232
tracing-subscriber = "0.3.19"

src/persister.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
use crate::error::BDKCliError;
22
use bdk_wallet::WalletPersister;
33

4-
pub enum Persister {
4+
// Types of Persistence backends supported by bdk-cli
5+
pub(crate) enum Persister {
56
#[cfg(feature = "sqlite")]
67
Connection(bdk_wallet::rusqlite::Connection),
78
#[cfg(feature = "redb")]

0 commit comments

Comments
 (0)