From 1b055b3f7a6f0f95e9bfd96133f0e51839c37ad2 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 20 Apr 2024 10:12:24 -0400 Subject: [PATCH] Switch to libz-ng-sys This is supposedly faster, and more importantly has less build dependencies. --- Cargo.toml | 2 +- src/compression.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 {