• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bitcoindevkit / bdk / 5984736767

26 Aug 2023 12:20PM UTC coverage: 78.856% (+0.2%) from 78.694%
5984736767

Pull #1084

github

web-flow
Merge 8bdb5a43d into 8f978f86b
Pull Request #1084: Enhance bdk chain structures

86 of 86 new or added lines in 5 files covered. (100.0%)

8022 of 10173 relevant lines covered (78.86%)

5091.55 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

25.0
/crates/bdk/src/lib.rs
1
#![doc = include_str!("../README.md")]
1✔
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

19
pub extern crate bitcoin;
20
#[cfg(feature = "hardware-signer")]
21
pub extern crate hwi;
22
extern crate log;
23
pub extern crate miniscript;
24
extern crate serde;
25
extern crate serde_json;
26

27
#[cfg(feature = "keys-bip39")]
28
extern crate bip39;
29

30
#[allow(unused_imports)]
31
#[macro_use]
32
pub(crate) mod error;
33
pub mod descriptor;
34
pub mod keys;
35
pub mod psbt;
36
pub(crate) mod types;
37
pub mod wallet;
38

39
pub use descriptor::template;
40
pub use descriptor::HdKeyPaths;
41
pub use error::Error;
42
pub use types::*;
43
pub use wallet::signer;
44
pub use wallet::signer::SignOptions;
45
pub use wallet::tx_builder::TxBuilder;
46
pub use wallet::Wallet;
47

48
/// Get the version of BDK at runtime
49
pub fn version() -> &'static str {
×
50
    env!("CARGO_PKG_VERSION", "unknown")
×
51
}
×
52

53
pub use bdk_chain as chain;
54
pub(crate) use bdk_chain::collections;
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc