From 9501d910762dcc5350af4f492db03fb8e7612951 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 18 Feb 2025 14:04:35 +0100 Subject: [PATCH] build: partially revert update of aws-sdk-s3 to avoid broken crc64fast-nvme --- Cargo.lock | 59 +++---------------------------------------- Cargo.toml | 2 +- src/garage/Cargo.toml | 1 + 3 files changed, 6 insertions(+), 56 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2b120529..558dde1c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -298,9 +298,9 @@ dependencies = [ [[package]] name = "aws-sdk-s3" -version = "1.76.0" +version = "1.68.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66e83401ad7287ad15244d557e35502c2a94105ca5b41d656c391f1a4fc04ca2" +checksum = "bc5ddf1dc70287dc9a2f953766a1fe15e3e74aef02fd1335f2afa475c9b4f4fc" dependencies = [ "aws-credential-types", "aws-runtime", @@ -372,16 +372,15 @@ dependencies = [ [[package]] name = "aws-smithy-checksums" -version = "0.62.0" +version = "0.60.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2f45a1c384d7a393026bc5f5c177105aa9fa68e4749653b985707ac27d77295" +checksum = "ba1a71073fca26775c8b5189175ea8863afb1c9ea2cceb02a5de5ad9dfbaa795" dependencies = [ "aws-smithy-http", "aws-smithy-types", "bytes", "crc32c", "crc32fast", - "crc64fast-nvme", "hex", "http 0.2.12", "http-body 0.4.6", @@ -671,25 +670,6 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3e368af43e418a04d52505cf3dbc23dda4e3407ae2fa99fd0e4f308ce546acc" -[[package]] -name = "cbindgen" -version = "0.27.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fce8dd7fcfcbf3a0a87d8f515194b49d6135acab73e18bd380d1d93bb1a15eb" -dependencies = [ - "clap 4.5.27", - "heck 0.4.1", - "indexmap 2.7.1", - "log", - "proc-macro2", - "quote", - "serde", - "serde_json", - "syn 2.0.98", - "tempfile", - "toml", -] - [[package]] name = "cc" version = "1.2.11" @@ -832,21 +812,6 @@ dependencies = [ "libc", ] -[[package]] -name = "crc" -version = "3.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636" -dependencies = [ - "crc-catalog", -] - -[[package]] -name = "crc-catalog" -version = "2.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" - [[package]] name = "crc32c" version = "0.6.8" @@ -865,16 +830,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "crc64fast-nvme" -version = "1.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5e2ee08013e3f228d6d2394116c4549a6df77708442c62d887d83f68ef2ee37" -dependencies = [ - "cbindgen", - "crc", -] - [[package]] name = "crossbeam-channel" version = "0.5.14" @@ -1832,12 +1787,6 @@ dependencies = [ "unicode-segmentation", ] -[[package]] -name = "heck" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" - [[package]] name = "heck" version = "0.5.0" diff --git a/Cargo.toml b/Cargo.toml index eb929132..0e156358 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -142,7 +142,7 @@ assert-json-diff = "2.0" rustc_version = "0.4.0" static_init = "1.0" aws-sdk-config = "1.62" -aws-sdk-s3 = "1.76" +aws-sdk-s3 = "=1.68" [profile.dev] #lto = "thin" # disabled for now, adds 2-4 min to each CI build diff --git a/src/garage/Cargo.toml b/src/garage/Cargo.toml index 5860cf97..966c8ac5 100644 --- a/src/garage/Cargo.toml +++ b/src/garage/Cargo.toml @@ -71,6 +71,7 @@ hyper-util.workspace = true mktemp.workspace = true sha2.workspace = true + static_init.workspace = true assert-json-diff.workspace = true serde_json.workspace = true