Developed and maintained by Nathan Moinvaziri.
|master||Most recent release.|
|develop||Latest development code.|
|1.2||Old changes to original minizip that includes WinZip AES encryption, disk splitting, I/O buffering and some additional fixes. Not ABI compatible with original minizip.|
|1.1||Original minizip as of zlib 1.2.11.|
Minizip was originally developed by Gilles Vollant in 1998. It was first included in the zlib distribution as an additional code contribution starting in zlib 1.1.2. Since that time, it has been continually improved upon and contributed to by many people. The original project can still be found in the zlib distribution that is maintained by Mark Adler.
The motivation behind this repository has been the need for new features and bug fixes to the original library which had not been maintained for a long period of time. The code has been largely refactored and rewritten in order to help improve maintainability and readability. A compatibility layer has been provided for consumers of the original minizip library.
To generate project files for your platform:
cmake . -DMZ_BUILD_TESTS=ON cmake --build .
|MZ_COMPAT||Enables compatibility layer||ON|
|MZ_ZLIB||Enables ZLIB compression||ON|
|MZ_BZIP2||Enables BZIP2 compression||ON|
|MZ_LZMA||Enables LZMA & XZ compression||ON|
|MZ_ZSTD||Enables ZSTD compression||ON|
|MZ_LIBCOMP||Enables Apple compression||APPLE|
|MZ_FETCH_LIBS||Enables fetching third-party libraries if not found||WIN32|
|MZ_FORCE_FETCH_LIBS||Enables fetching third-party libraries always||OFF|
|MZ_PKCRYPT||Enables PKWARE traditional encryption||ON|
|MZ_WZAES||Enables WinZIP AES encryption||ON|
|MZ_OPENSSL||Enables OpenSSL encryption||UNIX|
|MZ_LIBBSD||Builds with libbsd crypto random||UNIX|
|MZ_SIGNING||Enables zip signing support||ON|
|MZ_ICONV||Enables iconv encoding conversion||ON|
|MZ_COMPRESS_ONLY||Only support compression||OFF|
|MZ_DECOMPRESS_ONLY||Only support decompression||OFF|
|MZ_FILE32_API||Builds using posix 32-bit file api||OFF|
|MZ_BUILD_TESTS||Builds minizip test executable||OFF|
|MZ_BUILD_UNIT_TESTS||Builds minizip unit test project||OFF|
|MZ_BUILD_FUZZ_TESTS||Builds minizip fuzz executables||OFF|
|MZ_CODE_COVERAGE||Build with code coverage flags||OFF|
|MZ_PROJECT_SUFFIX||Project name suffix for packaging|
Third-party libraries may be required based on the CMake options selected. If the system already has the library installed then it will be used, otherwise CMake will retrieve the source code for the library from its official git repository and compile it in when the
MZ_FETCH_LIBS option is enabled.
|bzip2||license||Written by Julian Seward.|
|liblzma||Public domain||Written by Igor Pavlov and Lasse Collin.|
|zlib||zlib||Written by Mark Adler and Jean-loup Gailly. Or alternatively, zlib-ng by Hans Kristian Rosbach.|
|zstd||BSD||Written by Facebook.|
This project uses the zlib license.
Thanks go out to all the people who have taken the time to contribute code reviews, testing and/or patches. This project would not have been as good without you.
Thanks to Gilles Vollant on which this work is originally based on.
The ZIP format was defined by Phil Katz of PKWARE.