-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathlib.rs
More file actions
53 lines (45 loc) · 1.04 KB
/
lib.rs
File metadata and controls
53 lines (45 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//! `bdk_tx`
#![warn(missing_docs)]
#![no_std]
extern crate alloc;
#[macro_use]
#[cfg(feature = "std")]
extern crate std;
pub extern crate bdk_coin_select;
mod canonical_unspents;
mod finalizer;
mod input;
mod input_candidates;
mod output;
mod rbf;
mod selection;
mod selector;
mod signer;
mod utils;
pub use canonical_unspents::*;
pub use finalizer::*;
pub use input::*;
pub use input_candidates::*;
pub use miniscript;
pub use miniscript::bitcoin;
use miniscript::{DefiniteDescriptorKey, Descriptor};
pub use output::*;
pub use rbf::*;
pub use selection::*;
pub use selector::*;
pub use signer::*;
use utils::*;
#[cfg(feature = "std")]
pub(crate) mod collections {
#![allow(unused)]
pub use std::collections::*;
}
#[cfg(not(feature = "std"))]
pub(crate) mod collections {
#![allow(unused)]
pub type HashMap<K, V> = alloc::collections::BTreeMap<K, V>;
pub type HashSet<T> = alloc::collections::BTreeSet<T>;
pub use alloc::collections::*;
}
/// Definite descriptor.
pub type DefiniteDescriptor = Descriptor<DefiniteDescriptorKey>;