From e3dc2acacf4d68d6f4b8e0ddcc079e19d6db64c9 Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Wed, 5 Nov 2025 18:40:25 -0800 Subject: [PATCH] fixup docs.rs builds This switches from `doc_auto_cfg` to `doc_cfg` to fix the builds on docs.rs https://docs.rs/crate/chacha20/0.10.0-rc.4/builds/2637654 --- chacha20/src/lib.rs | 2 +- hc-256/src/lib.rs | 2 +- rabbit/src/lib.rs | 2 +- rc4/src/lib.rs | 2 +- salsa20/src/lib.rs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chacha20/src/lib.rs b/chacha20/src/lib.rs index d9846f71..11fac731 100644 --- a/chacha20/src/lib.rs +++ b/chacha20/src/lib.rs @@ -100,7 +100,7 @@ //! [`chacha20poly1305`]: https://docs.rs/chacha20poly1305 #![no_std] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc( html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg", html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg" diff --git a/hc-256/src/lib.rs b/hc-256/src/lib.rs index 43c19192..678242b0 100644 --- a/hc-256/src/lib.rs +++ b/hc-256/src/lib.rs @@ -49,7 +49,7 @@ //! [HC-256]: https://en.wikipedia.org/wiki/HC-256 #![no_std] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc( html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg", html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg" diff --git a/rabbit/src/lib.rs b/rabbit/src/lib.rs index 46e9f9b7..48db291e 100644 --- a/rabbit/src/lib.rs +++ b/rabbit/src/lib.rs @@ -49,7 +49,7 @@ //! [Rabbit]: https://tools.ietf.org/html/rfc4503#section-2.3 #![no_std] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc( html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg", html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg" diff --git a/rc4/src/lib.rs b/rc4/src/lib.rs index 077abb93..f18bde85 100644 --- a/rc4/src/lib.rs +++ b/rc4/src/lib.rs @@ -1,5 +1,5 @@ #![no_std] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc = include_str!("../README.md")] #![doc( html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg", diff --git a/salsa20/src/lib.rs b/salsa20/src/lib.rs index c75246f0..a5407c73 100644 --- a/salsa20/src/lib.rs +++ b/salsa20/src/lib.rs @@ -67,7 +67,7 @@ //! [Salsa]: https://en.wikipedia.org/wiki/Salsa20 #![no_std] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![doc( html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg", html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg"