wallet/
lib.rs

1// Descriptor wallet library extending bitcoin & miniscript functionality
2// by LNP/BP Association (https://lnp-bp.org)
3// Written in 2020-2022 by
4//     Dr. Maxim Orlovsky <orlovsky@lnp-bp.org>
5//
6// To the extent possible under law, the author(s) have dedicated all
7// copyright and related and neighboring rights to this software to
8// the public domain worldwide. This software is distributed without
9// any warranty.
10//
11// You should have received a copy of the Apache-2.0 License
12// along with this software.
13// If not, see <https://opensource.org/licenses/Apache-2.0>.
14
15//! Descriptor wallet library extending bitcoin & miniscript functionality.
16
17// Coding conventions
18#![recursion_limit = "256"]
19#![deny(dead_code, missing_docs, warnings)]
20
21pub extern crate bitcoin_hd as hd;
22pub extern crate bitcoin_onchain as onchain;
23pub extern crate descriptors;
24pub extern crate psbt;
25pub extern crate slip132;
26
27#[cfg(feature = "cli")]
28pub(crate) mod cli;
29
30pub mod lex_order {
31    //! Lexicographic sorting functions.
32    #[deprecated(since = "0.6.1", note = "Use `wallet::lex_order` instead")]
33    pub use psbt::lex_order;
34    pub use psbt::lex_order::*;
35}