Lines Matching +full:- +full:- +full:without +full:- +full:zlib
6 A streaming compression/decompression library DEFLATE-based streams in Rust.
10 available zlib library or the high-performance zlib-ng library.
15 * zlib
62 want maximum performance, you can use the zlib-ng C library:
66 flate2 = { version = "1.0.17", features = ["zlib-ng"], default-features = false }
69 Note that the `"zlib-ng"` feature works even if some other part of your crate
70 graph depends on zlib.
73 zlib, and you want to avoid including both zlib and zlib-ng, you can use that
78 flate2 = { version = "1.0.17", features = ["zlib"], default-features = false }
81 Or, if you have C or Rust code that depends on zlib and you want to use zlib-ng
82 via libz-sys in zlib-compat mode, use:
86 flate2 = { version = "1.0.17", features = ["zlib-ng-compat"], default-features = false }
89 Note that when using the `"zlib-ng-compat"` feature, if any crate in your
90 dependency graph explicitly requests stock zlib, or uses libz-sys directly
91 without `default-features = false`, you'll get stock zlib rather than zlib-ng.
92 See [the libz-sys
93 README](https://github.com/rust-lang/libz-sys/blob/main/README.md) for details.
94 To avoid that, use the `"zlib-ng"` feature instead.
97 version of zlib is available, via the `cloudflare_zlib` feature. It's not as
98 fast as zlib-ng, but it's faster than stock zlib. It requires an x86-64 CPU with
99 SSE 4.2 or ARM64 with NEON & CRC. It does not support 32-bit CPUs at all and is
101 documentation](https://crates.io/crates/cloudflare-zlib-sys). Note that
103 uses another version of zlib/libz.
109 * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
110 https://www.apache.org/licenses/LICENSE-2.0)
111 * MIT license ([LICENSE-MIT](LICENSE-MIT) or
119 for inclusion in this project by you, as defined in the Apache-2.0 license,
120 shall be dual licensed as above, without any additional terms or conditions.