diff --git a/Cargo.toml b/Cargo.toml index 1fc12c3..944d6aa 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,7 +57,7 @@ binrw = { version = "0.13.0", features = ["std"], default-features = false } tracing = { version = "0.1.40", features = ["std"], default-features = false } # used for zlib compression in sqpack files -libz-sys = { version = "1.1" } +libz-ng-sys = { version = "1.1" } # nice to have features rust is lacking at the moment modular-bitfield = "0.11" diff --git a/src/compression.rs b/src/compression.rs index f01482e..ed3bb88 100755 --- a/src/compression.rs +++ b/src/compression.rs @@ -3,7 +3,7 @@ use std::ptr::null_mut; -use libz_sys::*; +use libz_ng_sys::*; // This module's functions are licensed under MIT from https://github.com/rust-lang/flate2-rs mod flate2_zallocation {