Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

Commit 22435cd

Browse files
committed
use romeo as library
1 parent 7db6b98 commit 22435cd

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

romeo/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ rs_merkle.workspace = true
2626

2727
[dev-dependencies]
2828
reqwest = { workspace = true, features = ["json", "blocking"] }
29+
sbtc-cli = { path = "../sbtc-cli" }

sbtc-cli/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pub mod commands;

sbtc-cli/src/main.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,13 @@
77
//! and interact with the Bitcoin and Stacks networks.
88
99
use clap::{Parser, Subcommand};
10-
11-
use crate::commands::{
10+
use sbtc_cli::commands::{
1211
broadcast::{broadcast_tx, BroadcastArgs},
1312
deposit::{build_deposit_tx, DepositArgs},
1413
generate::{generate, GenerateArgs},
1514
withdraw::{build_withdrawal_tx, WithdrawalArgs},
1615
};
1716

18-
mod commands;
19-
2017
#[derive(Parser)]
2118
struct Cli {
2219
#[command(subcommand)]

0 commit comments

Comments
 (0)