From 5144cec5a1bbe34616d6c08a7775088fa56cace5 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Sat, 30 Dec 2023 20:54:12 -0700 Subject: [PATCH] Bump `hybrid-array` depenency to v0.2.0-pre.7 (#1028) Due to a cyclical dependency with `crypto-common` this has to be done as part of a 2-part process and can't be done at release-time. --- Cargo.lock | 19 +++++++++---------- Cargo.toml | 4 ++++ block-padding/Cargo.toml | 2 +- dbl/Cargo.toml | 2 +- inout/Cargo.toml | 2 +- 5 files changed, 16 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ce6dd4b0..ba277d5a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -22,7 +22,7 @@ dependencies = [ name = "block-padding" version = "0.4.0-pre.1" dependencies = [ - "hybrid-array 0.2.0-pre.6", + "hybrid-array 0.2.0-pre.7 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -43,17 +43,16 @@ dependencies = [ [[package]] name = "crypto-common" version = "0.2.0-pre.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47bf010313404f942f7da6931d00bd455bb4c36c36c9d4dd9497b5ac316f6fe1" +source = "git+https://github.com/RustCrypto/traits.git?branch=hybrid-array/v0.2.0-pre.7#d9db948f96cb4d182b82eb003a92060f4f595afa" dependencies = [ - "hybrid-array 0.2.0-pre.6", + "hybrid-array 0.2.0-pre.7 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "dbl" version = "0.4.0-pre.1" dependencies = [ - "hybrid-array 0.2.0-pre.6", + "hybrid-array 0.2.0-pre.7 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -84,19 +83,19 @@ checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" [[package]] name = "hybrid-array" -version = "0.2.0-pre.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f148d5add3c53ebf18452f556b0437d3d5c4540f34eb7b80c5ad4b54632c4e2" +version = "0.2.0-pre.7" dependencies = [ "typenum", + "zeroize 1.7.0", ] [[package]] name = "hybrid-array" version = "0.2.0-pre.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c23513baf3d4dec43f51f0d5793d9f3058d909040a0130f86c53c4a340fcad05" dependencies = [ "typenum", - "zeroize 1.7.0", ] [[package]] @@ -104,7 +103,7 @@ name = "inout" version = "0.2.0-pre.1" dependencies = [ "block-padding", - "hybrid-array 0.2.0-pre.6", + "hybrid-array 0.2.0-pre.7 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index b376e6ac..a410aaca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,3 +20,7 @@ members = [ [profile.dev] opt-level = 2 + +[patch.crates-io.crypto-common] +git = "https://github.com/RustCrypto/traits.git" +branch = "hybrid-array/v0.2.0-pre.7" diff --git a/block-padding/Cargo.toml b/block-padding/Cargo.toml index 8af142f6..371c6b99 100644 --- a/block-padding/Cargo.toml +++ b/block-padding/Cargo.toml @@ -13,7 +13,7 @@ categories = ["cryptography", "no-std"] readme = "README.md" [dependencies] -hybrid-array = "=0.2.0-pre.6" +hybrid-array = "=0.2.0-pre.7" [features] std = [] diff --git a/dbl/Cargo.toml b/dbl/Cargo.toml index 937b15c8..c894e5bf 100644 --- a/dbl/Cargo.toml +++ b/dbl/Cargo.toml @@ -12,4 +12,4 @@ rust-version = "1.65" readme = "README.md" [dependencies] -hybrid-array = "=0.2.0-pre.6" +hybrid-array = "=0.2.0-pre.7" diff --git a/inout/Cargo.toml b/inout/Cargo.toml index 27872d69..c6f53c72 100644 --- a/inout/Cargo.toml +++ b/inout/Cargo.toml @@ -13,7 +13,7 @@ readme = "README.md" [dependencies] block-padding = { version = "=0.4.0-pre.1", path = "../block-padding", optional = true } -hybrid-array = "=0.2.0-pre.6" +hybrid-array = "=0.2.0-pre.7" [features] std = ["block-padding/std"]