From 273919df6934c20c75b699b3bc88f577cb2bc4ba Mon Sep 17 00:00:00 2001 From: Troy Benson Date: Sat, 7 Mar 2026 09:47:15 +0200 Subject: [PATCH] fix: migrate doc_auto_cfg -> doc_cfg --- embed-changelog/src/lib.rs | 2 +- postcompile/src/lib.rs | 2 +- tinc-build/src/lib.rs | 2 +- tinc-pb-prost/src/lib.rs | 2 +- tinc-proc-macro/src/lib.rs | 2 +- tinc/src/lib.rs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/embed-changelog/src/lib.rs b/embed-changelog/src/lib.rs index 1cffa7d..5a47d3c 100644 --- a/embed-changelog/src/lib.rs +++ b/embed-changelog/src/lib.rs @@ -16,7 +16,7 @@ //! //! `SPDX-License-Identifier: MIT OR Apache-2.0` #![cfg_attr(all(coverage_nightly, test), feature(coverage_attribute))] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![deny(missing_docs)] #![deny(unsafe_code)] #![deny(unreachable_pub)] diff --git a/postcompile/src/lib.rs b/postcompile/src/lib.rs index 9857d44..be155fb 100644 --- a/postcompile/src/lib.rs +++ b/postcompile/src/lib.rs @@ -127,7 +127,7 @@ //! //! `SPDX-License-Identifier: MIT OR Apache-2.0` #![cfg_attr(all(coverage_nightly, test), feature(coverage_attribute))] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![deny(missing_docs)] #![deny(unsafe_code)] #![deny(unreachable_pub)] diff --git a/tinc-build/src/lib.rs b/tinc-build/src/lib.rs index 03c53af..8277bb1 100644 --- a/tinc-build/src/lib.rs +++ b/tinc-build/src/lib.rs @@ -23,7 +23,7 @@ //! //! `SPDX-License-Identifier: MIT OR Apache-2.0` #![cfg_attr(all(coverage_nightly, test), feature(coverage_attribute))] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![deny(missing_docs)] #![deny(unsafe_code)] #![deny(unreachable_pub)] diff --git a/tinc-pb-prost/src/lib.rs b/tinc-pb-prost/src/lib.rs index a88caf1..39cfa26 100644 --- a/tinc-pb-prost/src/lib.rs +++ b/tinc-pb-prost/src/lib.rs @@ -8,7 +8,7 @@ //! //! `SPDX-License-Identifier: MIT OR Apache-2.0` #![cfg_attr(all(coverage_nightly, test), feature(coverage_attribute))] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![allow(clippy::all)] #![deny(unsafe_code)] #![deny(unreachable_pub)] diff --git a/tinc-proc-macro/src/lib.rs b/tinc-proc-macro/src/lib.rs index 6e96a60..cd2a467 100644 --- a/tinc-proc-macro/src/lib.rs +++ b/tinc-proc-macro/src/lib.rs @@ -7,7 +7,7 @@ //! //! `SPDX-License-Identifier: MIT OR Apache-2.0` #![cfg_attr(all(coverage_nightly, test), feature(coverage_attribute))] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![deny(missing_docs)] #![deny(unsafe_code)] #![deny(unreachable_pub)] diff --git a/tinc/src/lib.rs b/tinc/src/lib.rs index 8c35c24..3555e8d 100644 --- a/tinc/src/lib.rs +++ b/tinc/src/lib.rs @@ -218,7 +218,7 @@ //! //! `SPDX-License-Identifier: MIT OR Apache-2.0` #![cfg_attr(all(coverage_nightly, test), feature(coverage_attribute))] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![deny(missing_docs)] #![deny(unreachable_pub)] // TODO: Can't enable this because of the path attribute on private below.