Skip to content

Commit 8fa6c6a

Browse files
committed
Since 1.92 (current nightly) doc_auto_cfg was merged into doc_cfg
We use this feature to show feature gates in the documentetion (like "Available on crate feature serialize only.")
1 parent b529d75 commit 8fa6c6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
// Enable feature requirements in the docs from 1.57
5151
// See https://stackoverflow.com/questions/61417452
5252
// docs.rs defines `docsrs` when building documentation
53-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
53+
// Since 1.92 `doc_auto_cfg` was merged into `doc_cfg`
54+
#![cfg_attr(docsrs, feature(doc_cfg))]
5455

5556
#[cfg(feature = "serialize")]
5657
pub mod de;

0 commit comments

Comments
 (0)