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 = "2021"
14rust-version = "1.69"
15name = "nix"
16version = "0.28.0"
17authors = ["The nix-rust Project Developers"]
18include = [
19    "build.rs",
20    "src/**/*",
21    "test/**/*",
22    "LICENSE",
23    "README.md",
24    "CHANGELOG.md",
25]
26description = "Rust friendly bindings to *nix APIs"
27readme = "README.md"
28categories = ["os::unix-apis"]
29license = "MIT"
30repository = "https://github.com/nix-rust/nix"
31
32[package.metadata.docs.rs]
33all-features = true
34rustdoc-args = [
35    "--cfg",
36    "docsrs",
37]
38targets = [
39    "x86_64-unknown-linux-gnu",
40    "aarch64-linux-android",
41    "x86_64-apple-darwin",
42    "aarch64-apple-ios",
43    "x86_64-unknown-freebsd",
44    "x86_64-unknown-openbsd",
45    "x86_64-unknown-netbsd",
46    "x86_64-unknown-dragonfly",
47    "x86_64-fuchsia",
48    "x86_64-unknown-redox",
49    "x86_64-unknown-illumos",
50]
51
52[[test]]
53name = "test"
54path = "test/test.rs"
55
56[[test]]
57name = "test-aio-drop"
58path = "test/sys/test_aio_drop.rs"
59
60[[test]]
61name = "test-clearenv"
62path = "test/test_clearenv.rs"
63
64[[test]]
65name = "test-prctl"
66path = "test/sys/test_prctl.rs"
67
68[dependencies.bitflags]
69version = "2.3.1"
70
71[dependencies.cfg-if]
72version = "1.0"
73
74[dependencies.libc]
75version = "0.2.153"
76features = ["extra_traits"]
77
78[dependencies.memoffset]
79version = "0.9"
80optional = true
81
82[dependencies.pin-utils]
83version = "0.1.0"
84optional = true
85
86[dev-dependencies.assert-impl]
87version = "0.1"
88
89[dev-dependencies.parking_lot]
90version = "0.12"
91
92[dev-dependencies.rand]
93version = "0.8"
94
95[dev-dependencies.semver]
96version = "1.0.7"
97
98[dev-dependencies.tempfile]
99version = "3.7.1"
100
101[build-dependencies.cfg_aliases]
102version = "0.1.1"
103
104[features]
105acct = []
106aio = ["pin-utils"]
107default = []
108dir = ["fs"]
109env = []
110event = []
111fanotify = []
112feature = []
113fs = []
114hostname = []
115inotify = []
116ioctl = []
117kmod = []
118mman = []
119mount = ["uio"]
120mqueue = ["fs"]
121net = ["socket"]
122personality = []
123poll = []
124process = []
125pthread = []
126ptrace = ["process"]
127quota = []
128reboot = []
129resource = []
130sched = ["process"]
131signal = ["process"]
132socket = ["memoffset"]
133term = []
134time = []
135ucontext = ["signal"]
136uio = []
137user = ["feature"]
138zerocopy = [
139    "fs",
140    "uio",
141]
142
143[target."cfg(any(target_os = \"android\", target_os = \"linux\"))".dev-dependencies.caps]
144version = "0.5.3"
145
146[target."cfg(target_os = \"freebsd\")".dev-dependencies.sysctl]
147version = "0.4"
148