Skip to content

Commit f1cb8c9

Browse files
authored
Switch from doc_auto_cfg to doc_cfg (#189)
The former has been removed from the latest `nightly` compiler releases Also removes the `--cfg docsrs` settings, since they're also automatic
1 parent 9d02100 commit f1cb8c9

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

crypto_box/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,3 @@ serde = ["dep:serdect"]
5252

5353
[package.metadata.docs.rs]
5454
all-features = true
55-
rustdoc-args = ["--cfg", "docsrs"]

crypto_box/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/6ee8e381/logo.svg",

crypto_kx/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,3 @@ os_rng = ["rand_core/os_rng"]
3030

3131
[package.metadata.docs.rs]
3232
features = ["serde"]
33-
rustdoc-args = ["--cfg", "docsrs"]

crypto_kx/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(
44
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg",
55
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg"

crypto_secretbox/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,3 @@ os_rng = ["aead/os_rng"]
4343

4444
[package.metadata.docs.rs]
4545
all-features = true
46-
rustdoc-args = ["--cfg", "docsrs"]

crypto_secretbox/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/meta/master/logo.svg",

crypto_secretstream/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ rand_core = { version = "0.9", features = ["std", "os_rng"] }
2929

3030
[features]
3131
default = ["std", "rand_core"]
32-
3332
alloc = ["aead/alloc"]
3433
std = ["alloc", "rand_core?/std"]
34+
3535
heapless = ["aead/heapless"]
3636
rand_core = ["dep:rand_core"]
37+
38+
[package.metadata.docs.rs]
39+
all-features = true

0 commit comments

Comments
 (0)