[ci] fix docsrs error for bdk crate

This commit is contained in:
Steve Myers 2023-06-20 12:33:05 -05:00
parent 26ade11726
commit 81c7613391
No known key found for this signature in database
GPG Key ID: 8105A46B22C2D051

View File

@ -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)]