Switch from zlib-ng to zlib-rs

zlib-rs provides the same performance as zlib-ng with minedmap, while
reducing the amount of C code and avoiding the external build dependency
on CMake.
This commit is contained in:
Matthias Schiffer 2025-02-28 12:12:58 +01:00
parent 40bc6cd2a9
commit f8c8ca78ba
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C
6 changed files with 21 additions and 27 deletions

View file

@ -11,12 +11,10 @@ repository.workspace = true
anyhow = "1.0.75"
bytemuck = "1.13.1"
fastnbt = "2.4.4"
flate2 = "1.0.27"
flate2 = "1.1.0"
minedmap-types = { version = "0.1.4", path = "../types" }
serde = "1.0.183"
[features]
zlib-ng = ["flate2/zlib-ng"]
[dev-dependencies]
clap = { version = "4.3.23", features = ["derive"] }
flate2 = { version = "1.1.0", features = ["zlib-rs"] }