Lines Matching +full:zlib +full:- +full:ng +full:-
2 name = "libz-sys"
7 license = "MIT OR Apache-2.0"
8 repository = "https://github.com/rust-lang/libz-sys"
9 documentation = "https://docs.rs/libz-sys"
11 Low-level bindings to the system libz library (also known as zlib).
13 categories = ["compression", "external-ffi-bindings"]
14 keywords = ["zlib", "zlib-ng"]
20 # When this feature is disabled, zlib will be built in Z_SOLO mode which
22 # eliminating some high-level functions like gz*, compress* and
27 [build-dependencies]
28 pkg-config = "0.3.9"
32 [target.'cfg(target_env = "msvc")'.build-dependencies]
36 default = ["libc", "stock-zlib"]
37 # By default, libz-sys uses stock zlib. If you set default-features=false,
38 # enable the zlib-ng feature, and don't enable the stock-zlib feature, libz-sys
39 # will instead supply the high-performance zlib-ng, in zlib-compat mode. Any
40 # application or library designed for zlib should work with zlib-ng in
41 # zlib-compat mode, as long as it doesn't make assumptions about the exact size
44 # of stock zlib (which will produce conflicting symbols). If a single crate in
45 # the dependency graph requests stock-zlib (or doesn't disable default
46 # features), you'll get stock zlib.
49 # libz-sys = { version = "1.1.0", default-features = false, features = ["libc"] }
52 # This allows higher-level crates depending on your library to opt into zlib-ng
55 # Building zlib-ng requires cmake.
56 zlib-ng = ["libc", "cmake"]
57 stock-zlib = []