Skip to content

Commit c8d781b

Browse files
authored
fixup docs.rs builds (#483)
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
1 parent b23aeb6 commit c8d781b

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

chacha20/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
//! [`chacha20poly1305`]: https://docs.rs/chacha20poly1305
101101
102102
#![no_std]
103-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
103+
#![cfg_attr(docsrs, feature(doc_cfg))]
104104
#![doc(
105105
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg",
106106
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg"

hc-256/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
//! [HC-256]: https://en.wikipedia.org/wiki/HC-256
5050
5151
#![no_std]
52-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
52+
#![cfg_attr(docsrs, feature(doc_cfg))]
5353
#![doc(
5454
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg",
5555
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg"

rabbit/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
//! [Rabbit]: https://tools.ietf.org/html/rfc4503#section-2.3
5050
5151
#![no_std]
52-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
52+
#![cfg_attr(docsrs, feature(doc_cfg))]
5353
#![doc(
5454
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg",
5555
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg"

rc4/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![no_std]
2-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
2+
#![cfg_attr(docsrs, feature(doc_cfg))]
33
#![doc = include_str!("../README.md")]
44
#![doc(
55
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg",

salsa20/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
//! [Salsa]: https://en.wikipedia.org/wiki/Salsa20
6868
6969
#![no_std]
70-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
70+
#![cfg_attr(docsrs, feature(doc_cfg))]
7171
#![doc(
7272
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg",
7373
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/8f1a9894/logo.svg"

0 commit comments

Comments
 (0)