diff --git a/crates/json-write/Cargo.toml b/crates/json-write/Cargo.toml index 5987657..83a668f 100644 --- a/crates/json-write/Cargo.toml +++ b/crates/json-write/Cargo.toml @@ -14,7 +14,7 @@ include.workspace = true [package.metadata.docs.rs] all-features = true -rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] +rustdoc-args = ["--generate-link-to-definition"] [package.metadata.release] pre-release-replacements = [ diff --git a/crates/json-write/README.md b/crates/json-write/README.md index 8b6b57f..46dd5cb 100644 --- a/crates/json-write/README.md +++ b/crates/json-write/README.md @@ -9,8 +9,8 @@ A low-level interface for writing out TOML Licensed under either of -* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or ) -* MIT license ([LICENSE-MIT](LICENSE-MIT) or ) +* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or ) +* MIT license ([LICENSE-MIT](LICENSE-MIT) or ) at your option. diff --git a/crates/json-write/src/lib.rs b/crates/json-write/src/lib.rs index 0ec7e9f..da450c9 100644 --- a/crates/json-write/src/lib.rs +++ b/crates/json-write/src/lib.rs @@ -30,7 +30,7 @@ //! ``` #![cfg_attr(all(not(feature = "std"), not(test)), no_std)] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![warn(clippy::std_instead_of_core)] #![warn(clippy::std_instead_of_alloc)] #![warn(clippy::print_stderr)] diff --git a/crates/lexarg-error/Cargo.toml b/crates/lexarg-error/Cargo.toml index f9c0621..de3a4d4 100644 --- a/crates/lexarg-error/Cargo.toml +++ b/crates/lexarg-error/Cargo.toml @@ -12,7 +12,7 @@ include.workspace = true [package.metadata.docs.rs] all-features = true -rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] +rustdoc-args = ["--generate-link-to-definition"] [package.metadata.release] pre-release-replacements = [ diff --git a/crates/lexarg-error/README.md b/crates/lexarg-error/README.md index 6a55703..9afceff 100644 --- a/crates/lexarg-error/README.md +++ b/crates/lexarg-error/README.md @@ -10,8 +10,8 @@ Licensed under either of -* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or ) -* MIT license ([LICENSE-MIT](LICENSE-MIT) or ) +* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or ) +* MIT license ([LICENSE-MIT](LICENSE-MIT) or ) at your option. diff --git a/crates/lexarg-error/src/lib.rs b/crates/lexarg-error/src/lib.rs index a747810..e9f0817 100644 --- a/crates/lexarg-error/src/lib.rs +++ b/crates/lexarg-error/src/lib.rs @@ -9,7 +9,7 @@ #![doc = include_str!("../examples/hello-error.rs")] //! ``` -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![warn(missing_debug_implementations)] #![warn(missing_docs)] #![warn(clippy::print_stderr)] diff --git a/crates/lexarg-parser/Cargo.toml b/crates/lexarg-parser/Cargo.toml index b5a1810..a377b06 100644 --- a/crates/lexarg-parser/Cargo.toml +++ b/crates/lexarg-parser/Cargo.toml @@ -12,7 +12,7 @@ include.workspace = true [package.metadata.docs.rs] all-features = true -rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] +rustdoc-args = ["--generate-link-to-definition"] [package.metadata.release] pre-release-replacements = [ diff --git a/crates/lexarg-parser/README.md b/crates/lexarg-parser/README.md index a96a870..fa6fcef 100644 --- a/crates/lexarg-parser/README.md +++ b/crates/lexarg-parser/README.md @@ -10,8 +10,8 @@ Licensed under either of -* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or ) -* MIT license ([LICENSE-MIT](LICENSE-MIT) or ) +* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or ) +* MIT license ([LICENSE-MIT](LICENSE-MIT) or ) at your option. diff --git a/crates/lexarg-parser/src/lib.rs b/crates/lexarg-parser/src/lib.rs index 522816b..a468da5 100644 --- a/crates/lexarg-parser/src/lib.rs +++ b/crates/lexarg-parser/src/lib.rs @@ -9,7 +9,7 @@ #![doc = include_str!("../examples/hello-parser.rs")] //! ``` -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![allow(clippy::result_unit_err)] #![warn(missing_debug_implementations)] #![warn(missing_docs)] diff --git a/crates/lexarg/Cargo.toml b/crates/lexarg/Cargo.toml index 9e83e79..28e2a67 100644 --- a/crates/lexarg/Cargo.toml +++ b/crates/lexarg/Cargo.toml @@ -12,7 +12,7 @@ include.workspace = true [package.metadata.docs.rs] all-features = true -rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] +rustdoc-args = ["--generate-link-to-definition"] [package.metadata.release] pre-release-replacements = [ diff --git a/crates/lexarg/README.md b/crates/lexarg/README.md index a96a870..fa6fcef 100644 --- a/crates/lexarg/README.md +++ b/crates/lexarg/README.md @@ -10,8 +10,8 @@ Licensed under either of -* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or ) -* MIT license ([LICENSE-MIT](LICENSE-MIT) or ) +* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or ) +* MIT license ([LICENSE-MIT](LICENSE-MIT) or ) at your option. diff --git a/crates/lexarg/src/lib.rs b/crates/lexarg/src/lib.rs index 3b439b5..c92ecdb 100644 --- a/crates/lexarg/src/lib.rs +++ b/crates/lexarg/src/lib.rs @@ -9,7 +9,7 @@ #![doc = include_str!("../examples/hello.rs")] //! ``` -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![allow(clippy::result_unit_err)] #![warn(missing_debug_implementations)] #![warn(missing_docs)] diff --git a/crates/libtest-json/Cargo.toml b/crates/libtest-json/Cargo.toml index 074a024..a0c8636 100644 --- a/crates/libtest-json/Cargo.toml +++ b/crates/libtest-json/Cargo.toml @@ -12,7 +12,7 @@ include.workspace = true [package.metadata.docs.rs] all-features = true -rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] +rustdoc-args = ["--generate-link-to-definition"] [package.metadata.release] pre-release-replacements = [ diff --git a/crates/libtest-json/README.md b/crates/libtest-json/README.md index 0a29385..ac0075e 100644 --- a/crates/libtest-json/README.md +++ b/crates/libtest-json/README.md @@ -10,8 +10,8 @@ Licensed under either of -* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or ) -* MIT license ([LICENSE-MIT](LICENSE-MIT) or ) +* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or ) +* MIT license ([LICENSE-MIT](LICENSE-MIT) or ) at your option. diff --git a/crates/libtest-json/src/lib.rs b/crates/libtest-json/src/lib.rs index 47b1605..dd37bc9 100644 --- a/crates/libtest-json/src/lib.rs +++ b/crates/libtest-json/src/lib.rs @@ -1,6 +1,6 @@ //! Definition of the json output for libtest -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![warn(clippy::print_stderr)] #![warn(clippy::print_stdout)] diff --git a/crates/libtest-lexarg/Cargo.toml b/crates/libtest-lexarg/Cargo.toml index 9ac4579..d6085d5 100644 --- a/crates/libtest-lexarg/Cargo.toml +++ b/crates/libtest-lexarg/Cargo.toml @@ -12,7 +12,7 @@ include.workspace = true [package.metadata.docs.rs] all-features = true -rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] +rustdoc-args = ["--generate-link-to-definition"] [package.metadata.release] pre-release-replacements = [ diff --git a/crates/libtest-lexarg/README.md b/crates/libtest-lexarg/README.md index 3aa8e22..d62103f 100644 --- a/crates/libtest-lexarg/README.md +++ b/crates/libtest-lexarg/README.md @@ -10,8 +10,8 @@ Licensed under either of -* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or ) -* MIT license ([LICENSE-MIT](LICENSE-MIT) or ) +* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or ) +* MIT license ([LICENSE-MIT](LICENSE-MIT) or ) at your option. diff --git a/crates/libtest-lexarg/src/lib.rs b/crates/libtest-lexarg/src/lib.rs index 499ee2e..efe6e83 100644 --- a/crates/libtest-lexarg/src/lib.rs +++ b/crates/libtest-lexarg/src/lib.rs @@ -9,7 +9,7 @@ #![doc = include_str!("../examples/libtest-cli.rs")] //! ``` -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![forbid(unsafe_code)] #![warn(missing_debug_implementations, elided_lifetimes_in_paths)] diff --git a/crates/libtest2-harness/Cargo.toml b/crates/libtest2-harness/Cargo.toml index 5093024..f024c08 100644 --- a/crates/libtest2-harness/Cargo.toml +++ b/crates/libtest2-harness/Cargo.toml @@ -12,7 +12,7 @@ include.workspace = true [package.metadata.docs.rs] all-features = true -rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] +rustdoc-args = ["--generate-link-to-definition"] [package.metadata.release] pre-release-replacements = [ diff --git a/crates/libtest2-harness/README.md b/crates/libtest2-harness/README.md index 0a29385..ac0075e 100644 --- a/crates/libtest2-harness/README.md +++ b/crates/libtest2-harness/README.md @@ -10,8 +10,8 @@ Licensed under either of -* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or ) -* MIT license ([LICENSE-MIT](LICENSE-MIT) or ) +* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or ) +* MIT license ([LICENSE-MIT](LICENSE-MIT) or ) at your option. diff --git a/crates/libtest2-harness/src/lib.rs b/crates/libtest2-harness/src/lib.rs index 4f6e57b..f804542 100644 --- a/crates/libtest2-harness/src/lib.rs +++ b/crates/libtest2-harness/src/lib.rs @@ -1,6 +1,6 @@ //! An experimental replacement for the core of libtest -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![warn(clippy::print_stderr)] // #![warn(clippy::print_stdout)] diff --git a/crates/libtest2-mimic/Cargo.toml b/crates/libtest2-mimic/Cargo.toml index 3867015..e0ab567 100644 --- a/crates/libtest2-mimic/Cargo.toml +++ b/crates/libtest2-mimic/Cargo.toml @@ -12,7 +12,7 @@ include.workspace = true [package.metadata.docs.rs] all-features = true -rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] +rustdoc-args = ["--generate-link-to-definition"] [package.metadata.release] pre-release-replacements = [ diff --git a/crates/libtest2-mimic/README.md b/crates/libtest2-mimic/README.md index 11af8e5..215aa11 100644 --- a/crates/libtest2-mimic/README.md +++ b/crates/libtest2-mimic/README.md @@ -10,8 +10,8 @@ Licensed under either of -* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or ) -* MIT license ([LICENSE-MIT](LICENSE-MIT) or ) +* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or ) +* MIT license ([LICENSE-MIT](LICENSE-MIT) or ) at your option. diff --git a/crates/libtest2-mimic/src/lib.rs b/crates/libtest2-mimic/src/lib.rs index 7a76781..9273350 100644 --- a/crates/libtest2-mimic/src/lib.rs +++ b/crates/libtest2-mimic/src/lib.rs @@ -60,7 +60,7 @@ //! - `--format=json` (unstable): our schema is part of an experiment to see what should be //! stabilized for `libtest`, see also [libtest2#42](https://github.com/assert-rs/libtest2/issues/42) -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] //#![warn(clippy::print_stderr)] #![warn(clippy::print_stdout)] diff --git a/crates/libtest2/Cargo.toml b/crates/libtest2/Cargo.toml index fe1290f..468e7e9 100644 --- a/crates/libtest2/Cargo.toml +++ b/crates/libtest2/Cargo.toml @@ -12,7 +12,7 @@ include.workspace = true [package.metadata.docs.rs] all-features = true -rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"] +rustdoc-args = ["--generate-link-to-definition"] [package.metadata.release] pre-release-replacements = [ diff --git a/crates/libtest2/README.md b/crates/libtest2/README.md index b916e63..d4edd88 100644 --- a/crates/libtest2/README.md +++ b/crates/libtest2/README.md @@ -10,8 +10,8 @@ Licensed under either of -* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or ) -* MIT license ([LICENSE-MIT](LICENSE-MIT) or ) +* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or ) +* MIT license ([LICENSE-MIT](LICENSE-MIT) or ) at your option. diff --git a/crates/libtest2/src/lib.rs b/crates/libtest2/src/lib.rs index 6c32f44..a3f834f 100644 --- a/crates/libtest2/src/lib.rs +++ b/crates/libtest2/src/lib.rs @@ -27,7 +27,7 @@ //! ``` //! -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] //#![warn(clippy::print_stderr)] #![warn(clippy::print_stdout)] diff --git a/deny.toml b/deny.toml index d74e44c..27bf59a 100644 --- a/deny.toml +++ b/deny.toml @@ -96,6 +96,7 @@ allow = [ "ISC", "OpenSSL", "Zlib", + "NCSA", ] # The confidence threshold for detecting a license from license text. # The higher the value, the more closely the license text must be to the