1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-21 20:27:46 +00:00

Switch to libz-ng-sys

This is supposedly faster, and more importantly has less build
dependencies.
This commit is contained in:
Joshua Goins 2024-04-20 10:12:24 -04:00
parent 04eecd5030
commit 1b055b3f7a
2 changed files with 2 additions and 2 deletions

View file

@ -57,7 +57,7 @@ binrw = { version = "0.13.0", features = ["std"], default-features = false }
tracing = { version = "0.1.40", features = ["std"], default-features = false } tracing = { version = "0.1.40", features = ["std"], default-features = false }
# used for zlib compression in sqpack files # 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 # nice to have features rust is lacking at the moment
modular-bitfield = "0.11" modular-bitfield = "0.11"

View file

@ -3,7 +3,7 @@
use std::ptr::null_mut; 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 // This module's functions are licensed under MIT from https://github.com/rust-lang/flate2-rs
mod flate2_zallocation { mod flate2_zallocation {