Skip to content

Commit

Permalink
[ci] fix docsrs error for bdk crate
Browse files Browse the repository at this point in the history
  • Loading branch information
notmandatory committed Jul 4, 2023
1 parent 26ade11 commit 81c7613
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crates/bdk/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#![doc = include_str!("../README.md")]
// only enables the `doc_cfg` feature when the `docsrs` configuration attribute is defined
#![cfg_attr(docsrs, feature(doc_cfg))]
#![cfg_attr(
docsrs,
doc(html_logo_url = "https://github.com/bitcoindevkit/bdk/raw/master/static/bdk.png")
)]
#![no_std]
#![warn(missing_docs)]

Expand Down

0 comments on commit 81c7613

Please sign in to comment.