diff --git a/Cargo.lock b/Cargo.lock index 10b07a7..5008718 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -573,7 +573,6 @@ dependencies = [ "xz2", "zip", "zstd", - "zstd-sys", ] [[package]] @@ -1178,4 +1177,5 @@ checksum = "9fd07cbbc53846d9145dbffdf6dd09a7a0aa52be46741825f5c97bdd4f73f12b" dependencies = [ "cc", "libc", + "pkg-config", ] diff --git a/Cargo.toml b/Cargo.toml index 3ef8fa0..1249dbd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,10 +30,7 @@ tempfile = "3.3.0" ubyte = { version = "0.10.3", default-features = false } xz2 = "0.1.7" zip = { version = "0.6.3", default-features = false, features = ["time"] } -zstd = { version = "0.12.1", default-features = false } -# zstd-sys > 2.0.1 unconditionally enables thin LTO and causes CI to fail -# https://github.com/gyscos/zstd-rs/pull/155 -zstd-sys = "=2.0.1" +zstd = { version = "0.12.1", default-features = false, features = ["pkg-config"] } [target.'cfg(unix)'.dependencies] time = { version = "0.3.17", default-features = false }