From c6d1e9ea2293e28b4737837b2b642f984d2450c0 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: Tue, 24 Feb 2026 05:54:54 +0300 Subject: [PATCH 1/2] Bump `cipher` to v0.5.1 --- Cargo.lock | 18 ++++++++---------- Cargo.toml | 4 ++++ 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d2b17ef6..c87185ba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10,9 +10,9 @@ checksum = "89af0b093cc13baa4e51e64e65ec2422f7e73aea0e612e5ad3872986671622f1" [[package]] name = "block-buffer" -version = "0.11.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96eb4cdd6cf1b31d671e9efe75c5d1ec614776856cefbe109ca373554a6d514f" +checksum = "cdd35008169921d80bc60d3d0ab416eecb028c4cd653352907921d95084790be" dependencies = [ "hybrid-array", "zeroize", @@ -38,9 +38,8 @@ dependencies = [ [[package]] name = "cipher" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64727038c8c5e2bb503a15b9f5b9df50a1da9a33e83e1f93067d914f2c6604a5" +version = "0.5.1" +source = "git+https://github.com/RustCrypto/traits?branch=block_sizes#8359276d485a3cae7c47f969d267a66245fa669b" dependencies = [ "blobby", "block-buffer", @@ -60,9 +59,8 @@ dependencies = [ [[package]] name = "crypto-common" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "211f05e03c7d03754740fd9e585de910a095d6b99f8bcfffdef8319fa02a8331" +version = "0.2.1" +source = "git+https://github.com/RustCrypto/traits?branch=block_sizes#8359276d485a3cae7c47f969d267a66245fa669b" dependencies = [ "hybrid-array", ] @@ -102,9 +100,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.180" +version = "0.2.182" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc" +checksum = "6800badb6cb2082ffd7b6a67e6125bb39f18782f793520caee8cb8846be06112" [[package]] name = "rabbit" diff --git a/Cargo.toml b/Cargo.toml index 26910c8c..d784ba5b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,3 +10,7 @@ members = [ [profile.dev] opt-level = 2 + +[patch.crates-io] +crypto-common = { git = "https://github.com/RustCrypto/traits", branch = "block_sizes" } +cipher = { git = "https://github.com/RustCrypto/traits", branch = "block_sizes" } From 2ae2f40b8dbbe4c67f7d803632feef72f0bcd08d 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, 25 Feb 2026 18:28:19 +0300 Subject: [PATCH 2/2] Use published versions of `cipher` and `crypto-common` --- Cargo.lock | 6 ++++-- Cargo.toml | 4 ---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c87185ba..a49e2175 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -39,7 +39,8 @@ dependencies = [ [[package]] name = "cipher" version = "0.5.1" -source = "git+https://github.com/RustCrypto/traits?branch=block_sizes#8359276d485a3cae7c47f969d267a66245fa669b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e34d8227fe1ba289043aeb13792056ff80fd6de1a9f49137a5f499de8e8c78ea" dependencies = [ "blobby", "block-buffer", @@ -60,7 +61,8 @@ dependencies = [ [[package]] name = "crypto-common" version = "0.2.1" -source = "git+https://github.com/RustCrypto/traits?branch=block_sizes#8359276d485a3cae7c47f969d267a66245fa669b" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77727bb15fa921304124b128af125e7e3b968275d1b108b379190264f4423710" dependencies = [ "hybrid-array", ] diff --git a/Cargo.toml b/Cargo.toml index d784ba5b..26910c8c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,3 @@ members = [ [profile.dev] opt-level = 2 - -[patch.crates-io] -crypto-common = { git = "https://github.com/RustCrypto/traits", branch = "block_sizes" } -cipher = { git = "https://github.com/RustCrypto/traits", branch = "block_sizes" }