Skip to content

Commit 13cf72f

Browse files
committed
Merge #738: Fix docs.rs features
3451d1c Fix docs.rs features (Alekos Filini) Pull request description: ### Description Fix docs.rs features ### Checklists #### All Submissions: * [x] I've signed all my commits * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md) * [x] I ran `cargo fmt` and `cargo clippy` before committing #### New Features: * [ ] I've added tests for the new feature * [ ] I've added docs for the new feature * [ ] I've updated `CHANGELOG.md` ACKs for top commit: danielabrozzoni: utACK 3451d1c notmandatory: ACK 3451d1c Tree-SHA512: 96dc4f816b21cf20fc2828dcfd56865f3f9add8e4aa643205879c810d09e6f2e73d6643061bf3ca98145b37e726907dedd31a145f92d6646c172a43ae2285aa8
2 parents cf13c80 + 3451d1c commit 13cf72f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,6 @@ required-features = ["keys-bip39", "key-value-db", "rpc", "electrsd/bitcoind_22_
122122
[workspace]
123123
members = ["macros"]
124124
[package.metadata.docs.rs]
125-
features = ["compiler", "electrum", "esplora", "ureq", "compact_filters", "rpc", "key-value-db", "sqlite", "all-keys", "verify"]
125+
features = ["compiler", "electrum", "esplora", "use-esplora-ureq", "compact_filters", "rpc", "key-value-db", "sqlite", "all-keys", "verify", "hardware-signer"]
126126
# defines the configuration attribute `docsrs`
127127
rustdoc-args = ["--cfg", "docsrs"]

src/wallet/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ pub(crate) mod utils;
4949
pub mod verify;
5050

5151
#[cfg(feature = "hardware-signer")]
52+
#[cfg_attr(docsrs, doc(cfg(feature = "hardware-signer")))]
5253
pub mod hardwaresigner;
5354

5455
pub use utils::IsDust;

0 commit comments

Comments
 (0)