A binding to the miniz compression library for the Odin programming language.
You need curl
, a C compiler (default: gcc
) and an archiver (default: ar
) in order to compile the miniz library itself.
Then just clone this repository into your shared
collection and run build-miniz.sh
.
This will create an archive file, which will be linked in when using miniz.odin.
Then use it with
import miniz "shared:odin-miniz";
See demo/main.odin
for an example on how to use this library. If you need more information, take a look at the source code (it's fairly easy to understand).
It is public domain (UNLICENSE), see LICENSE file for further details.