From 5d64e79ecfdcd9896f74df843458baca6c819d83 Mon Sep 17 00:00:00 2001 From: Jonathan Schwender Date: Wed, 17 Jul 2024 17:45:50 +0200 Subject: [PATCH] Add feature(doc_cfg) for docs.rs Signed-off-by: Jonathan Schwender --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index d716f72..94c1b76 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -12,6 +12,7 @@ feature = "document-features", cfg_attr(doc, doc = ::document_features::document_features!()) )] +#[cfg_attr(docsrs, feature(doc_cfg))] #[cfg(feature = "drawing")] #[cfg_attr(docsrs, doc(cfg(feature = "drawing")))]