Skip to content

Commit c2e35db

Browse files
authored
Switch from doc_auto_cfg to doc_cfg (#505)
The former has been removed from the latest `nightly` compiler releases Also removes the `--cfg docsrs` settings, since they're now automatic See also: RustCrypto/traits#2028
1 parent ffcfc5c commit c2e35db

File tree

40 files changed

+20
-40
lines changed

40 files changed

+20
-40
lines changed

aes/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,3 @@ check-cfg = ["cfg(aes_compact)", "cfg(aes_force_soft)"]
3535

3636
[package.metadata.docs.rs]
3737
all-features = true
38-
rustdoc-args = ["--cfg", "docsrs"]

aes/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/26acc39f/logo.svg",
114114
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/26acc39f/logo.svg"
115115
)]
116-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
116+
#![cfg_attr(docsrs, feature(doc_cfg))]
117117
#![warn(missing_docs, rust_2018_idioms)]
118118

119119
#[cfg(feature = "hazmat")]

aria/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,3 @@ zeroize = ["cipher/zeroize"]
2424

2525
[package.metadata.docs.rs]
2626
all-features = true
27-
rustdoc-args = ["--cfg", "docsrs"]

aria/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/26acc39f/logo.svg"
3636
)]
3737
#![deny(unsafe_code)]
38-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
38+
#![cfg_attr(docsrs, feature(doc_cfg))]
3939
#![warn(missing_docs, rust_2018_idioms)]
4040

4141
mod consts;

belt-block/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,3 @@ zeroize = ["cipher/zeroize"]
2424

2525
[package.metadata.docs.rs]
2626
all-features = true
27-
rustdoc-args = ["--cfg", "docsrs"]

belt-block/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg",
1818
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg"
1919
)]
20-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
20+
#![cfg_attr(docsrs, feature(doc_cfg))]
2121
#![warn(missing_docs, rust_2018_idioms)]
2222
#![forbid(unsafe_code)]
2323

blowfish/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,3 @@ zeroize = ["cipher/zeroize"]
2525

2626
[package.metadata.docs.rs]
2727
all-features = true
28-
rustdoc-args = ["--cfg", "docsrs"]

blowfish/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/26acc39f/logo.svg"
1717
)]
1818
#![deny(unsafe_code)]
19-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
19+
#![cfg_attr(docsrs, feature(doc_cfg))]
2020
#![warn(missing_docs, rust_2018_idioms)]
2121

2222
pub use cipher;

camellia/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,3 @@ zeroize = ["cipher/zeroize"]
2424

2525
[package.metadata.docs.rs]
2626
all-features = true
27-
rustdoc-args = ["--cfg", "docsrs"]

camellia/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/26acc39f/logo.svg"
3939
)]
4040
#![deny(unsafe_code)]
41-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
41+
#![cfg_attr(docsrs, feature(doc_cfg))]
4242
#![warn(missing_docs, rust_2018_idioms)]
4343

4444
use core::marker::PhantomData;

0 commit comments

Comments
 (0)