[ci] fix docsrs error for bdk crate
This commit is contained in:
parent
26ade11726
commit
81c7613391
@ -1,4 +1,10 @@
|
|||||||
#![doc = include_str!("../README.md")]
|
#![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]
|
#![no_std]
|
||||||
#![warn(missing_docs)]
|
#![warn(missing_docs)]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user