diff --git a/Cargo.lock b/Cargo.lock index 2ad4fcc0f23a..b749a4311652 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -325,6 +325,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "669ea17f9257bcb48c09c7ee4bef3957777504acffac557263e20c11001977bc" dependencies = [ "cc", + "pkg-config", ] [[package]] @@ -389,6 +390,12 @@ dependencies = [ "zopfli", ] +[[package]] +name = "pkg-config" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2" + [[package]] name = "png" version = "0.17.13" diff --git a/Cargo.toml b/Cargo.toml index 717bf26fd441..d9036c8c5255 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,7 +39,7 @@ required-features = ["zopfli"] zopfli = { version = "0.8.0", optional = true, default-features = false, features = ["std", "zlib"] } rgb = "0.8.43" indexmap = "2.2.6" -libdeflater = "1.20.0" +libdeflater = { version = "1.20.0", features = ["dynamic"] } log = "0.4.21" bitvec = "1.0.1" rustc-hash = "1.1.0"