From 6f7c67b4858b755c19754a2ec1063502545a16b6 Mon Sep 17 00:00:00 2001 From: David Knaack Date: Sat, 11 Jan 2025 18:03:47 +0100 Subject: [PATCH] fix(windows): downgrade libz-ng-sys (#6489) --- Cargo.lock | 5 +++-- Cargo.toml | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ded946f4..e81c31f5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1953,9 +1953,9 @@ dependencies = [ [[package]] name = "libz-ng-sys" -version = "1.1.20" +version = "1.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f0f7295a34685977acb2e8cc8b08ee4a8dffd6cf278eeccddbe1ed55ba815d5" +checksum = "4436751a01da56f1277f323c80d584ffad94a3d14aecd959dd0dff75aa73a438" dependencies = [ "cmake", "libc", @@ -3053,6 +3053,7 @@ dependencies = [ "guess_host_triple", "home", "indexmap 2.7.0", + "libz-ng-sys", "log", "mockall", "nix", diff --git a/Cargo.toml b/Cargo.toml index 3773a120..797580f9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -91,6 +91,8 @@ yaml-rust2 = "0.9.0" guess_host_triple = "0.1.4" home = "0.5.11" +# Temporary workaround for https://github.com/rust-lang/libz-sys/issues/225 +libz-ng-sys = { version = "<1.1.20", optional = true } shell-words = "1.1.0" [dependencies.schemars]