blob: 81772431c4825496b7104a79f6b666e2fffefb8a [file] [log] [blame] [edit]
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2018"
name = "libz-sys"
version = "1.1.20"
authors = [
"Alex Crichton <[email protected]>",
"Josh Triplett <[email protected]>",
"Sebastian Thiel <[email protected]>",
]
build = "build.rs"
links = "z"
include = [
"LICENSE*",
"/README.md",
"build.rs",
"zng/cc.rs",
"zng/cmake.rs",
"src/*.rs",
"src/*.c",
"src/zlib/*.[ch]",
"src/zlib/*.pc.in",
"src/zlib-ng/**.[ch]",
"src/zlib-ng/arch/arm/**.[ch]",
"src/zlib-ng/arch/generic/**.[ch]",
"src/zlib-ng/arch/power/**.[ch]",
"src/zlib-ng/arch/riscv/**.[ch]",
"src/zlib-ng/arch/s390/**.[ch]",
"src/zlib-ng/arch/x86/**.[ch]",
"src/zlib-ng/*.[ch].in",
"src/zlib-ng/*.pc.in",
"src/zlib-ng/zlib_name_mangling.h.empty",
"src/zlib-ng/CMakeLists.txt",
"src/zlib-ng/zlib.pc.cmakein",
"src/zlib-ng/cmake",
]
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-level bindings to the system libz library (also known as zlib)."
readme = "README.md"
keywords = [
"zlib",
"zlib-ng",
]
categories = [
"compression",
"external-ffi-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/libz-sys"
[lib]
name = "libz_sys"
path = "src/lib.rs"
[dependencies.libc]
version = "0.2.43"
optional = true
[build-dependencies.cc]
version = "1.0.98"
[build-dependencies.cmake]
version = "0.1.50"
optional = true
[build-dependencies.pkg-config]
version = "0.3.9"
[build-dependencies.vcpkg]
version = "0.2.11"
[features]
asm = []
default = [
"libc",
"stock-zlib",
]
static = []
stock-zlib = []
zlib-ng = [
"libc",
"cmake",
]
zlib-ng-no-cmake-experimental-community-maintained = ["libc"]
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(zng)"]