Skip to content

Commit 81c7613

Browse files
committed
[ci] fix docsrs error for bdk crate
1 parent 26ade11 commit 81c7613

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

crates/bdk/src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#![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+
)]
28
#![no_std]
39
#![warn(missing_docs)]
410

0 commit comments

Comments
 (0)