From 47a83b5ed9533c5c98af132f5eb787c09869d0f5 Mon Sep 17 00:00:00 2001 From: daimond113 <72147841+daimond113@users.noreply.github.com> Date: Thu, 28 Mar 2024 13:29:25 +0100 Subject: [PATCH] chore(dependencies): :alien: fix compilation due to zstd-sys --- Cargo.lock | 21 +++++++++++---------- registry/Cargo.toml | 3 +++ 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2bf4ec3..95fa2bd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -82,7 +82,7 @@ dependencies = [ "tokio", "tokio-util", "tracing", - "zstd 0.13.1", + "zstd 0.13.0", ] [[package]] @@ -2821,9 +2821,9 @@ dependencies = [ [[package]] name = "memchr" -version = "2.7.1" +version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" +checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" [[package]] name = "memmap2" @@ -3420,6 +3420,7 @@ dependencies = [ "tantivy", "tar", "thiserror", + "zstd-sys", ] [[package]] @@ -6078,11 +6079,11 @@ dependencies = [ [[package]] name = "zstd" -version = "0.13.1" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d789b1514203a1120ad2429eae43a7bd32b90976a7bb8a05f7ec02fa88cc23a" +checksum = "bffb3309596d527cfcba7dfc6ed6052f1d39dfbd7c867aa2e865e4a449c10110" dependencies = [ - "zstd-safe 7.1.0", + "zstd-safe 7.0.0", ] [[package]] @@ -6107,18 +6108,18 @@ dependencies = [ [[package]] name = "zstd-safe" -version = "7.1.0" +version = "7.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cd99b45c6bc03a018c8b8a86025678c87e55526064e38f9df301989dce7ec0a" +checksum = "43747c7422e2924c11144d5229878b98180ef8b06cca4ab5af37afc8a8d8ea3e" dependencies = [ "zstd-sys", ] [[package]] name = "zstd-sys" -version = "2.0.10+zstd.1.5.6" +version = "2.0.9+zstd.1.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa" +checksum = "9e16efa8a874a0481a574084d34cc26fdb3b99627480f785888deb6386506656" dependencies = [ "cc", "pkg-config", diff --git a/registry/Cargo.toml b/registry/Cargo.toml index fefa851..c8cd6b5 100644 --- a/registry/Cargo.toml +++ b/registry/Cargo.toml @@ -28,3 +28,6 @@ pretty_env_logger = "0.5.0" sentry = "0.32.2" sentry-log = "0.32.2" sentry-actix = "0.32.2" + +# zstd-sys v2.0.10 is broken: https://github.com/gyscos/zstd-rs/issues/268 +zstd-sys = "=2.0.9+zstd.1.5.5" \ No newline at end of file