/home/darosior/projects/bdk/crates/wallet/src/lib.rs
Line | Count | Source (jump to first uncovered line) |
1 | | #![doc = include_str!("../README.md")] |
2 | | // only enables the `doc_cfg` feature when the `docsrs` configuration attribute is defined |
3 | | #![cfg_attr(docsrs, feature(doc_cfg))] |
4 | | #![cfg_attr( |
5 | | docsrs, |
6 | | doc(html_logo_url = "https://github.com/bitcoindevkit/bdk/raw/master/static/bdk.png") |
7 | | )] |
8 | | #![no_std] |
9 | | #![warn(missing_docs)] |
10 | | |
11 | | #[cfg(feature = "std")] |
12 | | #[macro_use] |
13 | | extern crate std; |
14 | | |
15 | | #[doc(hidden)] |
16 | | #[macro_use] |
17 | | pub extern crate alloc; |
18 | | pub extern crate bdk_chain as chain; |
19 | | #[cfg(feature = "file_store")] |
20 | | pub extern crate bdk_file_store as file_store; |
21 | | #[cfg(feature = "keys-bip39")] |
22 | | pub extern crate bip39; |
23 | | pub extern crate bitcoin; |
24 | | pub extern crate miniscript; |
25 | | pub extern crate serde; |
26 | | pub extern crate serde_json; |
27 | | |
28 | | pub mod descriptor; |
29 | | pub mod keys; |
30 | | pub mod psbt; |
31 | | mod types; |
32 | | mod wallet; |
33 | | |
34 | | pub(crate) use bdk_chain::collections; |
35 | | #[cfg(feature = "rusqlite")] |
36 | | pub use bdk_chain::rusqlite; |
37 | | #[cfg(feature = "rusqlite")] |
38 | | pub use bdk_chain::rusqlite_impl; |
39 | | pub use descriptor::template; |
40 | | pub use descriptor::HdKeyPaths; |
41 | | pub use signer; |
42 | | pub use signer::SignOptions; |
43 | | pub use tx_builder::*; |
44 | | pub use types::*; |
45 | | pub use wallet::*; |
46 | | |
47 | | /// Get the version of [`bdk_wallet`](crate) at runtime. |
48 | 0 | pub fn version() -> &'static str { |
49 | 0 | env!("CARGO_PKG_VERSION", "unknown") |
50 | 0 | } Unexecuted instantiation: bdk_wallet::version Unexecuted instantiation: bdk_wallet::version |