Skip to content

Commit 128daef

Browse files
committed
ref(main): update main entry point
1 parent 58ce306 commit 128daef

2 files changed

Lines changed: 18 additions & 19 deletions

File tree

Cargo.lock

Lines changed: 14 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,26 @@
1010
#![doc(html_logo_url = "https://github.com/bitcoindevkit/bdk/raw/master/static/bdk.png")]
1111
#![warn(missing_docs)]
1212

13+
mod backend;
1314
mod commands;
1415
mod config;
1516
mod error;
1617
mod handlers;
18+
mod utils;
19+
mod wallet;
1720
#[cfg(any(
1821
feature = "electrum",
1922
feature = "esplora",
2023
feature = "cbf",
2124
feature = "rpc"
2225
))]
2326
mod payjoin;
24-
#[cfg(any(feature = "sqlite", feature = "redb"))]
25-
mod persister;
26-
mod utils;
2727

2828
use bdk_wallet::bitcoin::Network;
2929
use log::{debug, error, warn};
3030

3131
use crate::commands::CliOpts;
32-
use crate::handlers::*;
32+
use crate::handlers::handle_command;
3333
use clap::Parser;
3434

3535
#[tokio::main]

0 commit comments

Comments
 (0)