6 releases

0.3.0 Apr 9, 2021
0.2.4 Apr 8, 2021
0.2.3-beta.1 Oct 24, 2020
0.2.0 Oct 28, 2018
0.1.1 May 30, 2018

#38 in Compression

Download history 1559/week @ 2021-04-03 1600/week @ 2021-04-10 1391/week @ 2021-04-17 1465/week @ 2021-04-24 1890/week @ 2021-05-01 1540/week @ 2021-05-08 1822/week @ 2021-05-15 1393/week @ 2021-05-22 1712/week @ 2021-05-29 1873/week @ 2021-06-05 1852/week @ 2021-06-12 1948/week @ 2021-06-19 1571/week @ 2021-06-26 1707/week @ 2021-07-03 1390/week @ 2021-07-10 1108/week @ 2021-07-17

6,641 downloads per month
Used in 11 crates (4 directly)

MIT AND Zlib OR Apache-2.0 AND Zlib

360KB
7.5K SLoC

C 7K SLoC // 0.2% comments Rust 335 SLoC // 0.1% comments

Cf-Zlib

This crate has the same API as zlib, and conflicts with libz-sys.

It requires x86-64 CPU with SSE 4.2 or ARM64 with NEON & CRC. It does not support 32-bit CPUs at all.

Cloning

This repository uses git submodules, so when cloning make sure to add --recursive

git clone --recursive https://gitlab.com/kornelski/cloudflare-zlib-sys

License

Zlib

(C) 1995-2017 Jean-loup Gailly and Mark Adler

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.

Jean-loup Gailly jloup@gzip.org Mark Adler madler@alumni.caltech.edu

If you use the zlib library in a product, we would appreciate not receiving lengthy legal documents to sign. The sources are provided for free but without warranty of any kind. The library has been entirely written by Jean-loup Gailly and Mark Adler; it does not include third-party code.

If you redistribute modified sources, we would appreciate that you include in the file ChangeLog history information documenting your changes. Please read the FAQ for more information on the distribution of modified source versions.

libz-sys

This project is licensed under either of

at your option.

No runtime deps