From d52bfa84dc4f5f3fe429096d7c179648293fee4f 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: Mon, 6 Oct 2025 15:48:48 +0300 Subject: [PATCH] Use the standard order of the `[package]` section fields --- aarch64-dit/Cargo.toml | 16 +++++++--------- blobby/Cargo.toml | 10 +++++----- block-buffer/Cargo.toml | 10 +++++----- block-padding/Cargo.toml | 6 +++--- cmov/Cargo.toml | 20 ++++++++++---------- collectable/Cargo.toml | 14 +++++--------- cpufeatures/Cargo.toml | 16 ++++++++-------- dbl/Cargo.toml | 15 +++++++++------ digest-io/Cargo.toml | 7 ++++--- hex-literal/.gitignore | 4 ---- hex-literal/Cargo.toml | 10 ++++++---- inout/Cargo.toml | 7 ++++--- opaque-debug/Cargo.toml | 10 +++++----- wycheproof2blb/Cargo.toml | 8 ++++---- zeroize/Cargo.toml | 18 +++++++++--------- zeroize_derive/Cargo.toml | 14 +++++++------- 16 files changed, 91 insertions(+), 94 deletions(-) delete mode 100644 hex-literal/.gitignore diff --git a/aarch64-dit/Cargo.toml b/aarch64-dit/Cargo.toml index bf16b551..0bc5ec98 100644 --- a/aarch64-dit/Cargo.toml +++ b/aarch64-dit/Cargo.toml @@ -1,18 +1,16 @@ [package] name = "aarch64-dit" -description = """ -Wrappers for enabling/disabling the Data Independent Timing (DIT) feature on AArch64 CPUs -""" version = "0.2.0-pre" authors = ["RustCrypto Developers"] -license = "Apache-2.0 OR MIT" -homepage = "https://github.com/RustCrypto/utils/tree/master/aarch64-dit" -repository = "https://github.com/RustCrypto/utils" -categories = ["cryptography", "hardware-support", "no-std"] -keywords = ["crypto", "intrinsics"] -readme = "README.md" edition = "2024" rust-version = "1.85" +documentation = "https://docs.rs/aarch64-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] cpufeatures = { version = "0.3.0-pre", path = "../cpufeatures" } diff --git a/blobby/Cargo.toml b/blobby/Cargo.toml index 1c60c4e1..c041a132 100644 --- a/blobby/Cargo.toml +++ b/blobby/Cargo.toml @@ -2,14 +2,14 @@ name = "blobby" version = "0.4.0-pre.1" authors = ["RustCrypto Developers"] -license = "MIT OR Apache-2.0" -description = "Iterator over simple binary blob storage" -documentation = "https://docs.rs/blobby" -repository = "https://github.com/RustCrypto/utils" -categories = ["no-std"] 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"] +description = "Iterator over simple binary blob storage" [features] alloc = [] diff --git a/block-buffer/Cargo.toml b/block-buffer/Cargo.toml index 44c41ec2..63a464f8 100644 --- a/block-buffer/Cargo.toml +++ b/block-buffer/Cargo.toml @@ -2,15 +2,15 @@ name = "block-buffer" version = "0.11.0-rc.5" authors = ["RustCrypto Developers"] -license = "MIT OR Apache-2.0" -description = "Buffer type for block processing of data" +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"] categories = ["cryptography", "no-std"] -readme = "README.md" -edition = "2024" -rust-version = "1.85" +description = "Buffer type for block processing of data" [dependencies] hybrid-array = "0.4" diff --git a/block-padding/Cargo.toml b/block-padding/Cargo.toml index eb6fbfa9..7376d6d4 100644 --- a/block-padding/Cargo.toml +++ b/block-padding/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "block-padding" version = "0.4.0" -description = "Padding and unpadding of messages divided into blocks." authors = ["RustCrypto Developers"] -license = "MIT OR Apache-2.0" 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"] categories = ["cryptography", "no-std"] -readme = "README.md" +description = "Padding and unpadding of messages divided into blocks." [dependencies] hybrid-array = "0.4.3" diff --git a/cmov/Cargo.toml b/cmov/Cargo.toml index 243b4a90..05213d2a 100644 --- a/cmov/Cargo.toml +++ b/cmov/Cargo.toml @@ -1,18 +1,18 @@ [package] name = "cmov" +version = "0.4.0" +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 = ["crypto", "intrinsics"] +categories = ["cryptography", "hardware-support", "no-std"] description = """ Conditional move CPU intrinsics which are guaranteed to execute in constant-time and not be rewritten as branches by the compiler. Provides wrappers for the CMOV family of instructions on x86/x86_64 and CSEL on AArch64. """ -version = "0.4.0" -authors = ["RustCrypto Developers"] -license = "Apache-2.0 OR MIT" -homepage = "https://github.com/RustCrypto/utils/tree/master/cmov" -repository = "https://github.com/RustCrypto/utils" -categories = ["cryptography", "hardware-support", "no-std"] -keywords = ["crypto", "intrinsics"] -readme = "README.md" -edition = "2024" -rust-version = "1.85" diff --git a/collectable/Cargo.toml b/collectable/Cargo.toml index f6380d2f..899773a0 100644 --- a/collectable/Cargo.toml +++ b/collectable/Cargo.toml @@ -2,18 +2,14 @@ name = "collectable" version = "0.1.0" authors = ["RustCrypto Developers"] -license = "Apache-2.0 OR MIT" -description = "Fallible, no_std-friendly collection traits" +edition = "2024" +rust-version = "1.85" documentation = "https://docs.rs/collectable" repository = "https://github.com/RustCrypto/utils" -categories = ["data-structures", "no-std"] +license = "Apache-2.0 OR MIT" keywords = ["arrayvec", "heapless"] -edition = "2024" -rust-version = "1.85" +categories = ["data-structures", "no-std"] +description = "Fallible, no_std-friendly collection traits" [features] alloc = [] - -[badges] -maintenance = { status = "experimental" } -travis-ci = { repository = "RustCrypto/utils" } diff --git a/cpufeatures/Cargo.toml b/cpufeatures/Cargo.toml index b3603d0a..c29837e0 100644 --- a/cpufeatures/Cargo.toml +++ b/cpufeatures/Cargo.toml @@ -1,19 +1,19 @@ [package] name = "cpufeatures" version = "0.3.0-pre" -description = """ -Lightweight runtime CPU feature detection for aarch64, loongarch64, and x86/x86_64 targets, -with no_std support and support for mobile targets including Android and iOS -""" authors = ["RustCrypto Developers"] -license = "MIT OR Apache-2.0" +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"] categories = ["hardware-support", "no-std"] -readme = "README.md" -edition = "2024" -rust-version = "1.85" +description = """ +Lightweight runtime CPU feature detection for aarch64, loongarch64, and x86/x86_64 targets, +with no_std support and support for mobile targets including Android and iOS +""" [target.'cfg(all(target_arch = "aarch64", target_vendor = "apple"))'.dependencies] libc = { version = "0.2.155", default-features = false } diff --git a/dbl/Cargo.toml b/dbl/Cargo.toml index 7fca5bd9..7d6f06d8 100644 --- a/dbl/Cargo.toml +++ b/dbl/Cargo.toml @@ -2,15 +2,18 @@ name = "dbl" version = "0.5.0" authors = ["RustCrypto Developers"] -license = "MIT OR Apache-2.0" -documentation = "https://docs.rs/dbl" -repository = "https://github.com/RustCrypto/utils" -keywords = ["crypto", "dbl", "gf", "galois"] edition = "2024" rust-version = "1.85" +documentation = "https://docs.rs/dbl" readme = "README.md" -description = """Double operation in Galois Field `GF(2^128)` using the lexicographically first -polynomial among the irreducible degree `n` polynomials having a minimum number of coefficients.""" +repository = "https://github.com/RustCrypto/utils" +license = "MIT OR Apache-2.0" +keywords = ["crypto", "dbl", "gf", "galois"] +categories = ["cryptography", "no-std"] +description = """ +Double operation in Galois Field `GF(2^128)` using the lexicographically first +polynomial among the irreducible degree `n` polynomials having a minimum number of coefficients. +""" [dependencies] hybrid-array = "0.4" diff --git a/digest-io/Cargo.toml b/digest-io/Cargo.toml index 9c19a386..2ca900fc 100644 --- a/digest-io/Cargo.toml +++ b/digest-io/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "digest-io" version = "0.1.0" -description = "std::io-compatibility wrappers for traits defined in the digest crate" authors = ["RustCrypto Developers"] -license = "MIT OR Apache-2.0" 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"] categories = ["cryptography"] -readme = "README.md" +description = "std::io-compatibility wrappers for traits defined in the digest crate" [dependencies] digest = "0.11.0-rc.3" diff --git a/hex-literal/.gitignore b/hex-literal/.gitignore deleted file mode 100644 index 143b1ca0..00000000 --- a/hex-literal/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ - -/target/ -**/*.rs.bk -Cargo.lock diff --git a/hex-literal/Cargo.toml b/hex-literal/Cargo.toml index 9160c7e2..44527917 100644 --- a/hex-literal/Cargo.toml +++ b/hex-literal/Cargo.toml @@ -2,10 +2,12 @@ name = "hex-literal" version = "1.0.0" authors = ["RustCrypto Developers"] -license = "MIT OR Apache-2.0" -description = "A macro for converting hexadecimal string literals to a byte array at compile time" +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"] -edition = "2024" -rust-version = "1.85" +categories = ["no-std"] +description = "A macro for converting hexadecimal string literals to a byte array at compile time" diff --git a/inout/Cargo.toml b/inout/Cargo.toml index 6b033c98..00330fc4 100644 --- a/inout/Cargo.toml +++ b/inout/Cargo.toml @@ -1,15 +1,16 @@ [package] name = "inout" version = "0.2.0" -description = "Custom reference types for code generic over in-place and buffer-to-buffer modes of operation." authors = ["RustCrypto Developers"] -license = "MIT OR Apache-2.0" 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"] -readme = "README.md" +categories = ["no-std"] +description = "Custom reference types for code generic over in-place and buffer-to-buffer modes of operation." [dependencies] hybrid-array = "0.4" diff --git a/opaque-debug/Cargo.toml b/opaque-debug/Cargo.toml index 059b5646..3992b9e6 100644 --- a/opaque-debug/Cargo.toml +++ b/opaque-debug/Cargo.toml @@ -2,10 +2,10 @@ name = "opaque-debug" version = "0.4.0-pre" authors = ["RustCrypto Developers"] -license = "MIT OR Apache-2.0" -description = "Macro for opaque Debug trait implementation" -documentation = "https://docs.rs/opaque-debug" -repository = "https://github.com/RustCrypto/utils" -readme = "README.md" edition = "2024" rust-version = "1.85" +documentation = "https://docs.rs/opaque-debug" +readme = "README.md" +repository = "https://github.com/RustCrypto/utils" +license = "MIT OR Apache-2.0" +description = "Macro for opaque Debug trait implementation" diff --git a/wycheproof2blb/Cargo.toml b/wycheproof2blb/Cargo.toml index 2c7aa59b..064917d5 100644 --- a/wycheproof2blb/Cargo.toml +++ b/wycheproof2blb/Cargo.toml @@ -2,13 +2,13 @@ name = "wycheproof2blb" version = "0.2.0-pre" authors = ["RustCrypto Developers"] -license = "MIT OR Apache-2.0" -description = "A utility for converting Wycheproof test vectors to the blobby format" +edition = "2024" +rust-version = "1.85" repository = "https://github.com/RustCrypto/utils" +license = "MIT OR Apache-2.0" keywords = ["test", "Wycheproof"] categories = ["cryptography", "no-std"] -edition = "2024" -rust-version = "1.85" +description = "A utility for converting Wycheproof test vectors to the blobby format" [dependencies] blobby = { version = "0.4.0-pre", path = "../blobby", features = ["alloc"] } diff --git a/zeroize/Cargo.toml b/zeroize/Cargo.toml index 19af79cf..d5077c08 100644 --- a/zeroize/Cargo.toml +++ b/zeroize/Cargo.toml @@ -1,6 +1,15 @@ [package] name = "zeroize" version = "1.9.0-pre" +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"] +categories = ["cryptography", "memory-management", "no-std", "os"] description = """ Securely clear secrets from memory with a simple trait built on stable Rust primitives which guarantee memory is zeroed using an @@ -8,15 +17,6 @@ operation will not be 'optimized away' by the compiler. Uses a portable pure Rust implementation that works everywhere, even WASM! """ -authors = ["The RustCrypto Project Developers"] -license = "Apache-2.0 OR MIT" -homepage = "https://github.com/RustCrypto/utils/tree/master/zeroize" -repository = "https://github.com/RustCrypto/utils" -readme = "README.md" -categories = ["cryptography", "memory-management", "no-std", "os"] -keywords = ["memory", "memset", "secure", "volatile", "zero"] -edition = "2024" -rust-version = "1.85" [dependencies] serde = { version = "1.0", default-features = false, optional = true } diff --git a/zeroize_derive/Cargo.toml b/zeroize_derive/Cargo.toml index 68b2f636..b37f8a94 100644 --- a/zeroize_derive/Cargo.toml +++ b/zeroize_derive/Cargo.toml @@ -1,16 +1,16 @@ [package] name = "zeroize_derive" -description = "Custom derive support for zeroize" version = "1.5.0" authors = ["The RustCrypto Project Developers"] -license = "Apache-2.0 OR MIT" -homepage = "https://github.com/RustCrypto/utils/tree/master/zeroize_derive" -repository = "https://github.com/RustCrypto/utils" -readme = "README.md" -categories = ["cryptography", "memory-management", "no-std", "os"] -keywords = ["memory", "memset", "secure", "volatile", "zero"] 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"] +categories = ["cryptography", "memory-management", "no-std", "os"] +description = "Custom derive support for zeroize" [lib] proc-macro = true