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

@ -117,11 +117,6 @@ or newer). The following command can be used to build the current development ve
cargo install --git 'https://github.com/neocturne/MinedMap.git'
```
In addition, CMake is needed to build the zlib-ng library. If you do not have
CMake installed, you can disable the zlib-ng feature by passing `--no-default-features`
to cargo. A pure-Rust zlib implementation will be used, which is more portable,
but slower than zlib-ng.
If you are looking for the older C++ implementation of the MinedMap tile renderer,
see the [v1.19.1](https://github.com/neocturne/MinedMap/tree/v1.19.1) tag.