• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2018"
14name = "libz-sys"
15version = "1.1.22"
16authors = [
17    "Alex Crichton <alex@alexcrichton.com>",
18    "Josh Triplett <josh@joshtriplett.org>",
19    "Sebastian Thiel <sebastian.thiel@icloud.com>",
20]
21build = "build.rs"
22links = "z"
23include = [
24    "LICENSE*",
25    "/README.md",
26    "/README-zng.md",
27    "build.rs",
28    "zng/cc.rs",
29    "zng/cmake.rs",
30    "src/*.rs",
31    "src/*.c",
32    "src/zlib/*.[ch]",
33    "src/zlib/*.pc.in",
34    "src/zlib-ng/**.[ch]",
35    "src/zlib-ng/arch/arm/**.[ch]",
36    "src/zlib-ng/arch/generic/**.[ch]",
37    "src/zlib-ng/arch/power/**.[ch]",
38    "src/zlib-ng/arch/riscv/**.[ch]",
39    "src/zlib-ng/arch/s390/**.[ch]",
40    "src/zlib-ng/arch/x86/**.[ch]",
41    "src/zlib-ng/*.[ch].in",
42    "src/zlib-ng/*.pc.in",
43    "src/zlib-ng/zlib_name_mangling.h.empty",
44    "src/zlib-ng/CMakeLists.txt",
45    "src/zlib-ng/zlib.pc.cmakein",
46    "src/zlib-ng/zlib-config.cmake.in",
47    "src/zlib-ng/zlib-ng-config.cmake.in",
48    "src/zlib-ng/cmake",
49]
50autolib = false
51autobins = false
52autoexamples = false
53autotests = false
54autobenches = false
55description = "Low-level bindings to the system libz library (also known as zlib)."
56readme = "README.md"
57keywords = [
58    "zlib",
59    "zlib-ng",
60]
61categories = [
62    "compression",
63    "external-ffi-bindings",
64]
65license = "MIT OR Apache-2.0"
66repository = "https://github.com/rust-lang/libz-sys"
67
68[features]
69asm = []
70default = [
71    "libc",
72    "stock-zlib",
73]
74static = []
75stock-zlib = []
76zlib-ng = [
77    "libc",
78    "cmake",
79]
80zlib-ng-no-cmake-experimental-community-maintained = ["libc"]
81
82[lib]
83name = "libz_sys"
84path = "src/lib.rs"
85
86[dependencies.libc]
87version = "0.2.43"
88optional = true
89
90[build-dependencies.cc]
91version = "1.0.98"
92
93[build-dependencies.cmake]
94version = "0.1.50"
95optional = true
96
97[build-dependencies.pkg-config]
98version = "0.3.9"
99
100[build-dependencies.vcpkg]
101version = "0.2.11"
102
103[lints.rust.unexpected_cfgs]
104level = "warn"
105priority = 0
106check-cfg = ["cfg(zng)"]
107