Skip to content
This repository has been archived by the owner on Jan 28, 2024. It is now read-only.

Latest commit

 

History

History
23 lines (16 loc) · 1.18 KB

README.md

File metadata and controls

23 lines (16 loc) · 1.18 KB

odin-miniz

license contributors issues

A binding to the miniz compression library for the Odin programming language.

Installation

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).

License

It is public domain (UNLICENSE), see LICENSE file for further details.