libz-sys 1.0.26

Low-level bindings to the system libz library (also known as zlib).
Documentation
[package]
name = "libz-sys"
version = "1.0.26"
authors = ["Alex Crichton <alex@alexcrichton.com>", "Josh Triplett <josh@joshtriplett.org>"]
links = "z"
build = "build.rs"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/libz-sys"
documentation = "https://docs.rs/libz-sys"
description = """
Low-level bindings to the system libz library (also known as zlib).
"""
categories = ["compression", "external-ffi-bindings"]

[workspace]
members = ["systest"]

[dependencies]
# When this feature is disabled, zlib will be built in Z_SOLO mode which
# removes dependency on any external libraries like libc at the cost of
# eliminating some high-level functions like gz*, compress* and
# uncompress, and requiring embedder to provide memory allocation
# routines to deflate and inflate.
libc = { version = "0.2.43", optional = true }

[build-dependencies]
pkg-config = "0.3.9"
cc = "1.0.18"

[target.'cfg(target_env = "msvc")'.build-dependencies]
vcpkg = "0.2"

[features]
default = ["libc"]
# Deprecated: the assembly routines are outdated, and either reduce performance
# or cause segfaults.
asm = []
# Enable this feature if you want to have a staticly linked libz
static = []