diff --git a/spdk-wallet/src/client/bip321_parsing.rs b/spdk-wallet/src/bip321_parsing.rs similarity index 100% rename from spdk-wallet/src/client/bip321_parsing.rs rename to spdk-wallet/src/bip321_parsing.rs diff --git a/spdk-wallet/src/client/mod.rs b/spdk-wallet/src/client/mod.rs index f69410c7..e8614080 100644 --- a/spdk-wallet/src/client/mod.rs +++ b/spdk-wallet/src/client/mod.rs @@ -1,11 +1,9 @@ -mod bip321_parsing; #[expect(clippy::module_inception)] mod client; mod coin_select; mod spend; mod structs; -pub use bip321_parsing::{SpUriExtension, SpUriParseError, parse_sp, parse_tsp}; pub use client::SpClient; pub use coin_select::{CoinSelectProposal, DrainSelection, Strategy}; pub use spend::{propose_coin_selections, propose_drain_selection}; diff --git a/spdk-wallet/src/lib.rs b/spdk-wallet/src/lib.rs index f8ded72d..0a938b21 100644 --- a/spdk-wallet/src/lib.rs +++ b/spdk-wallet/src/lib.rs @@ -1,3 +1,4 @@ +mod bip321_parsing; pub mod client; // re-export traits for consumers who need to provide valid implementors @@ -6,6 +7,7 @@ pub mod client; pub use backend_blindbit_v1; // re-export libraries for consumers pub use bip321; +pub use bip321_parsing::{SpUriExtension, SpUriParseError, parse_sp, parse_tsp}; pub use bitcoin; // re-export local scanner if enabled #[cfg(feature = "local-scanner")]