add doc_auto_cfg

This commit is contained in:
griffi-gh 2024-03-25 18:29:44 +01:00
parent 3dabfdb339
commit 11b5363e26

View file

@ -5,6 +5,8 @@
//! # Features //! # Features
#![doc = document_features::document_features!()] #![doc = document_features::document_features!()]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![deny(unsafe_code)] #![deny(unsafe_code)]
#![forbid(unsafe_op_in_unsafe_fn)] #![forbid(unsafe_op_in_unsafe_fn)]
#![allow(unused_parens)] #![allow(unused_parens)]