Bug 1825052 [wpt PR 39246] - Update wpt metadata, a=testonly
[gecko.git] / third_party / rust / nix / Cargo.toml
blob0afc445c22538cbfb9c01c9cae2990bed3437f32
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
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.
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.
12 [package]
13 edition = "2018"
14 rust-version = "1.56"
15 name = "nix"
16 version = "0.26.2"
17 authors = ["The nix-rust Project Developers"]
18 include = [
19     "src/**/*",
20     "test/**/*",
21     "LICENSE",
22     "README.md",
23     "CHANGELOG.md",
25 description = "Rust friendly bindings to *nix APIs"
26 readme = "README.md"
27 categories = ["os::unix-apis"]
28 license = "MIT"
29 repository = "https://github.com/nix-rust/nix"
31 [package.metadata.docs.rs]
32 rustdoc-args = [
33     "--cfg",
34     "docsrs",
36 targets = [
37     "x86_64-unknown-linux-gnu",
38     "aarch64-linux-android",
39     "x86_64-apple-darwin",
40     "aarch64-apple-ios",
41     "x86_64-unknown-freebsd",
42     "x86_64-unknown-openbsd",
43     "x86_64-unknown-netbsd",
44     "x86_64-unknown-dragonfly",
45     "x86_64-fuchsia",
46     "x86_64-unknown-redox",
47     "x86_64-unknown-illumos",
50 [[test]]
51 name = "test"
52 path = "test/test.rs"
54 [[test]]
55 name = "test-aio-drop"
56 path = "test/sys/test_aio_drop.rs"
58 [[test]]
59 name = "test-clearenv"
60 path = "test/test_clearenv.rs"
62 [[test]]
63 name = "test-mount"
64 path = "test/test_mount.rs"
65 harness = false
67 [[test]]
68 name = "test-ptymaster-drop"
69 path = "test/test_ptymaster_drop.rs"
71 [dependencies.bitflags]
72 version = "1.1"
74 [dependencies.cfg-if]
75 version = "1.0"
77 [dependencies.libc]
78 version = "0.2.137"
79 features = ["extra_traits"]
81 [dependencies.pin-utils]
82 version = "0.1.0"
83 optional = true
85 [dependencies.static_assertions]
86 version = "1"
88 [dev-dependencies.assert-impl]
89 version = "0.1"
91 [dev-dependencies.lazy_static]
92 version = "1.4"
94 [dev-dependencies.parking_lot]
95 version = "0.12"
97 [dev-dependencies.rand]
98 version = "0.8"
100 [dev-dependencies.semver]
101 version = "1.0.7"
103 [dev-dependencies.tempfile]
104 version = "3.3.0"
106 [features]
107 acct = []
108 aio = ["pin-utils"]
109 default = [
110     "acct",
111     "aio",
112     "dir",
113     "env",
114     "event",
115     "feature",
116     "fs",
117     "hostname",
118     "inotify",
119     "ioctl",
120     "kmod",
121     "mman",
122     "mount",
123     "mqueue",
124     "net",
125     "personality",
126     "poll",
127     "process",
128     "pthread",
129     "ptrace",
130     "quota",
131     "reboot",
132     "resource",
133     "sched",
134     "signal",
135     "socket",
136     "term",
137     "time",
138     "ucontext",
139     "uio",
140     "user",
141     "zerocopy",
143 dir = ["fs"]
144 env = []
145 event = []
146 feature = []
147 fs = []
148 hostname = []
149 inotify = []
150 ioctl = []
151 kmod = []
152 mman = []
153 mount = ["uio"]
154 mqueue = ["fs"]
155 net = ["socket"]
156 personality = []
157 poll = []
158 process = []
159 pthread = []
160 ptrace = ["process"]
161 quota = []
162 reboot = []
163 resource = []
164 sched = ["process"]
165 signal = ["process"]
166 socket = ["memoffset"]
167 term = []
168 time = []
169 ucontext = ["signal"]
170 uio = []
171 user = ["feature"]
172 zerocopy = [
173     "fs",
174     "uio",
177 [target."cfg(any(target_os = \"android\", target_os = \"linux\"))".dev-dependencies.caps]
178 version = "0.5.3"
180 [target."cfg(not(target_os = \"redox\"))".dependencies.memoffset]
181 version = "0.7"
182 optional = true
184 [target."cfg(target_os = \"freebsd\")".dev-dependencies.sysctl]
185 version = "0.4"