From 6e2ceef67753300f83efe25bfc1cc32ef8b6388f Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 8 May 2023 14:46:15 +0200 Subject: [PATCH] Use the previously defined cfg to add the `feature(doc_cfg)` attribute to the crate --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 8388831..dd1267d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -27,6 +27,7 @@ #![warn(missing_docs)] #![doc(html_logo_url = "https://raw.githubusercontent.com/Steffo99/micronfig/main/icon.png")] +#![cfg_attr(docsrs, feature(doc_cfg))] pub mod single;