We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
doc_cfg
1 parent 5150801 commit 9d47ad1Copy full SHA for 9d47ad1
crates/chain/src/lib.rs
@@ -17,6 +17,12 @@
17
//!
18
//! [Bitcoin Dev Kit]: https://bitcoindevkit.org/
19
20
+// only enables the `doc_cfg` feature when the `docsrs` configuration attribute is defined
21
+#![cfg_attr(docsrs, feature(doc_cfg))]
22
+#![cfg_attr(
23
+ docsrs,
24
+ doc(html_logo_url = "https://github.com/bitcoindevkit/bdk/raw/master/static/bdk.png")
25
+)]
26
#![no_std]
27
#![warn(missing_docs)]
28
0 commit comments