From d84dc05204696c0d66e97fafcd657e7b64ae323a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Wed, 14 Oct 2026 17:57:20 +0300 Subject: [PATCH] Fix `cargo::manual_readme` lint --- blobby/Cargo.toml | 1 - block-buffer/Cargo.toml | 1 - block-padding/Cargo.toml | 1 - cmov/Cargo.toml | 1 - cpubits/Cargo.toml | 9 ++++----- cpufeatures/Cargo.toml | 1 - ctutils/Cargo.toml | 19 +++++++++---------- dbl/Cargo.toml | 1 - digest-io-async/Cargo.toml | 1 - digest-io/Cargo.toml | 1 - dit/Cargo.toml | 6 ++++-- hex-literal/Cargo.toml | 1 - inout/Cargo.toml | 1 - sponge-cursor/Cargo.toml | 1 - wycheproof2blb/Cargo.toml | 3 +++ zeroize/Cargo.toml | 1 - zeroize_derive/Cargo.toml | 1 - 17 files changed, 20 insertions(+), 30 deletions(-) diff --git a/blobby/Cargo.toml b/blobby/Cargo.toml index 7e995b0e..fe319bd3 100644 --- a/blobby/Cargo.toml +++ b/blobby/Cargo.toml @@ -5,7 +5,6 @@ authors = ["RustCrypto Developers"] edition = "2024" rust-version = "1.85" documentation = "https://docs.rs/blobby" -readme = "README.md" repository = "https://github.com/RustCrypto/utils" license = "MIT OR Apache-2.0" categories = ["no-std"] diff --git a/block-buffer/Cargo.toml b/block-buffer/Cargo.toml index f7b928e4..6f030bd9 100644 --- a/block-buffer/Cargo.toml +++ b/block-buffer/Cargo.toml @@ -5,7 +5,6 @@ authors = ["RustCrypto Developers"] edition = "2024" rust-version = "1.85" documentation = "https://docs.rs/block-buffer" -readme = "README.md" repository = "https://github.com/RustCrypto/utils" license = "MIT OR Apache-2.0" keywords = ["block", "buffer"] diff --git a/block-padding/Cargo.toml b/block-padding/Cargo.toml index 2b1faca4..ec42d3dc 100644 --- a/block-padding/Cargo.toml +++ b/block-padding/Cargo.toml @@ -5,7 +5,6 @@ authors = ["RustCrypto Developers"] edition = "2024" rust-version = "1.85" documentation = "https://docs.rs/block-padding" -readme = "README.md" repository = "https://github.com/RustCrypto/utils" license = "MIT OR Apache-2.0" keywords = ["padding", "pkcs7", "ansix923", "iso7816"] diff --git a/cmov/Cargo.toml b/cmov/Cargo.toml index 54e48a06..57ebb2aa 100644 --- a/cmov/Cargo.toml +++ b/cmov/Cargo.toml @@ -5,7 +5,6 @@ authors = ["RustCrypto Developers"] edition = "2024" rust-version = "1.85" documentation = "https://docs.rs/cmov" -readme = "README.md" repository = "https://github.com/RustCrypto/utils" license = "Apache-2.0 OR MIT" keywords = ["constant-time", "crypto", "intrinsics"] diff --git a/cpubits/Cargo.toml b/cpubits/Cargo.toml index bd255388..8c7eee49 100644 --- a/cpubits/Cargo.toml +++ b/cpubits/Cargo.toml @@ -2,13 +2,12 @@ name = "cpubits" version = "0.1.1" authors = ["RustCrypto Developers"] -license = "MIT OR Apache-2.0" -documentation = "https://docs.rs/cpubits" -repository = "https://github.com/RustCrypto/utils" -categories = [] edition = "2024" rust-version = "1.85" -readme = "README.md" +documentation = "https://docs.rs/cpubits" +repository = "https://github.com/RustCrypto/utils" +license = "MIT OR Apache-2.0" +categories = ["no-std"] description = """ Compile-time detection heuristics for the optimal word size to use for the target CPU, which in some cases may differ from its address size a.k.a. diff --git a/cpufeatures/Cargo.toml b/cpufeatures/Cargo.toml index d9834499..2e514ea4 100644 --- a/cpufeatures/Cargo.toml +++ b/cpufeatures/Cargo.toml @@ -5,7 +5,6 @@ authors = ["RustCrypto Developers"] edition = "2024" rust-version = "1.85" documentation = "https://docs.rs/cpufeatures" -readme = "README.md" repository = "https://github.com/RustCrypto/utils" license = "MIT OR Apache-2.0" keywords = ["cpuid", "target-feature"] diff --git a/ctutils/Cargo.toml b/ctutils/Cargo.toml index 17ce7e8c..9c1d7595 100644 --- a/ctutils/Cargo.toml +++ b/ctutils/Cargo.toml @@ -1,20 +1,19 @@ [package] name = "ctutils" +version = "0.4.3" +authors = ["RustCrypto Developers"] +edition = "2024" +rust-version = "1.87" +documentation = "https://docs.rs/ctutils" +repository = "https://github.com/RustCrypto/utils" +license = "Apache-2.0 OR MIT" +keywords = ["constant-time", "crypto", "intrinsics"] +categories = ["cryptography", "no-std"] description = """ Constant-time utility library with selection and equality testing support targeting cryptographic applications. Supports `const fn` where appropriate. Built on the `cmov` crate which provides architecture-specific predication intrinsics. Heavily inspired by the `subtle` crate. """ -version = "0.4.3" -authors = ["RustCrypto Developers"] -license = "Apache-2.0 OR MIT" -homepage = "https://github.com/RustCrypto/utils/tree/master/ctutils" -repository = "https://github.com/RustCrypto/utils" -categories = ["cryptography", "no-std"] -keywords = ["constant-time", "crypto", "intrinsics"] -readme = "README.md" -edition = "2024" -rust-version = "1.87" [dependencies] cmov = "0.5.3" diff --git a/dbl/Cargo.toml b/dbl/Cargo.toml index 2166f7f7..1ed94b36 100644 --- a/dbl/Cargo.toml +++ b/dbl/Cargo.toml @@ -5,7 +5,6 @@ authors = ["RustCrypto Developers"] edition = "2024" rust-version = "1.85" documentation = "https://docs.rs/dbl" -readme = "README.md" repository = "https://github.com/RustCrypto/utils" license = "MIT OR Apache-2.0" keywords = ["crypto", "dbl", "gf", "galois"] diff --git a/digest-io-async/Cargo.toml b/digest-io-async/Cargo.toml index f95395f0..fd461934 100644 --- a/digest-io-async/Cargo.toml +++ b/digest-io-async/Cargo.toml @@ -5,7 +5,6 @@ authors = ["RustCrypto Developers"] edition = "2024" rust-version = "1.85" documentation = "https://docs.rs/digest-io-async" -readme = "README.md" repository = "https://github.com/RustCrypto/utils" license = "MIT OR Apache-2.0" keywords = ["crypto", "digest", "wrappers", "async", "tokio"] diff --git a/digest-io/Cargo.toml b/digest-io/Cargo.toml index 4b851c6a..e92c58cb 100644 --- a/digest-io/Cargo.toml +++ b/digest-io/Cargo.toml @@ -5,7 +5,6 @@ authors = ["RustCrypto Developers"] edition = "2024" rust-version = "1.85" documentation = "https://docs.rs/digest-io" -readme = "README.md" repository = "https://github.com/RustCrypto/utils" license = "MIT OR Apache-2.0" keywords = ["crypto", "digest", "wrappers"] diff --git a/dit/Cargo.toml b/dit/Cargo.toml index 857bee5c..ca4bbaf1 100644 --- a/dit/Cargo.toml +++ b/dit/Cargo.toml @@ -5,15 +5,17 @@ authors = ["RustCrypto Developers"] edition = "2024" rust-version = "1.85" documentation = "https://docs.rs/dit" -readme = "README.md" repository = "https://github.com/RustCrypto/utils" license = "Apache-2.0 OR MIT" keywords = ["crypto", "intrinsics"] categories = ["cryptography", "hardware-support", "no-std"] description = "Wrappers for enabling/disabling the Data Independent Timing (DIT) feature on AArch64 CPUs" -[dependencies] +[target.'cfg(target_arch = "aarch64")'.dependencies] cpufeatures = { version = "0.3.0-pre", path = "../cpufeatures" } [package.metadata.docs.rs] default-target = "aarch64-unknown-linux-gnu" + +# Do not inherent workspace lints +[lints] diff --git a/hex-literal/Cargo.toml b/hex-literal/Cargo.toml index 0b701f78..f07d76ab 100644 --- a/hex-literal/Cargo.toml +++ b/hex-literal/Cargo.toml @@ -5,7 +5,6 @@ authors = ["RustCrypto Developers"] edition = "2024" rust-version = "1.85" documentation = "https://docs.rs/hex-literal" -readme = "README.md" repository = "https://github.com/RustCrypto/utils" license = "MIT OR Apache-2.0" keywords = ["hex", "literals"] diff --git a/inout/Cargo.toml b/inout/Cargo.toml index 7dea4f35..74fc7e3e 100644 --- a/inout/Cargo.toml +++ b/inout/Cargo.toml @@ -5,7 +5,6 @@ authors = ["RustCrypto Developers"] edition = "2024" rust-version = "1.85" documentation = "https://docs.rs/inout" -readme = "README.md" repository = "https://github.com/RustCrypto/utils" license = "MIT OR Apache-2.0" keywords = ["custom-reference"] diff --git a/sponge-cursor/Cargo.toml b/sponge-cursor/Cargo.toml index dcd8a607..40c89567 100644 --- a/sponge-cursor/Cargo.toml +++ b/sponge-cursor/Cargo.toml @@ -5,7 +5,6 @@ authors = ["RustCrypto Developers"] edition = "2024" rust-version = "1.85" documentation = "https://docs.rs/sponge-cursor" -readme = "README.md" repository = "https://github.com/RustCrypto/utils" license = "MIT OR Apache-2.0" keywords = ["block", "buffer"] diff --git a/wycheproof2blb/Cargo.toml b/wycheproof2blb/Cargo.toml index 064917d5..48fad7e4 100644 --- a/wycheproof2blb/Cargo.toml +++ b/wycheproof2blb/Cargo.toml @@ -15,3 +15,6 @@ blobby = { version = "0.4.0-pre", path = "../blobby", features = ["alloc"] } hex = "0.4" serde = { version = "1.0.184", features = ["derive"] } serde_json = "1" + +# Do not inherent workspace lints +[lints] diff --git a/zeroize/Cargo.toml b/zeroize/Cargo.toml index 54c553a2..2696ffc8 100644 --- a/zeroize/Cargo.toml +++ b/zeroize/Cargo.toml @@ -5,7 +5,6 @@ authors = ["The RustCrypto Project Developers"] edition = "2024" rust-version = "1.85" documentation = "https://docs.rs/zeroize" -readme = "README.md" repository = "https://github.com/RustCrypto/utils" license = "Apache-2.0 OR MIT" keywords = ["memory", "memset", "secure", "volatile", "zero"] diff --git a/zeroize_derive/Cargo.toml b/zeroize_derive/Cargo.toml index c9d58ca9..2266efaf 100644 --- a/zeroize_derive/Cargo.toml +++ b/zeroize_derive/Cargo.toml @@ -5,7 +5,6 @@ authors = ["The RustCrypto Project Developers"] edition = "2024" rust-version = "1.85" documentation = "https://docs.rs/zeroize_derive" -readme = "README.md" repository = "https://github.com/RustCrypto/utils" license = "Apache-2.0 OR MIT" keywords = ["memory", "memset", "secure", "volatile", "zero"]