From 0b53ca6f531df1c637562c455aa7fb688b7fb8fa Mon Sep 17 00:00:00 2001 From: Kan-Ru Chen Date: Fri, 26 Jan 2024 08:28:28 +0900 Subject: [PATCH] docs: add doc_auto_cfg for docs.rs --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 7982f9c90..9950ef11a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,5 @@ +#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![feature(doc_auto_cfg)] #![deny(elided_lifetimes_in_paths)] #![deny(macro_use_extern_crate)] #![deny(missing_abi)]