]> git.proxmox.com Git - rustc.git/blob - vendor/rustix-0.37.6/Cargo.toml
New upstream version 1.74.1+dfsg1
[rustc.git] / vendor / rustix-0.37.6 / Cargo.toml
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]
13 edition = "2018"
14 rust-version = "1.48"
15 name = "rustix"
16 version = "0.37.6"
17 authors = [
18 "Dan Gohman <dev@sunfishcode.online>",
19 "Jakub Konka <kubkon@jakubkonka.com>",
20 ]
21 include = [
22 "src",
23 "build.rs",
24 "Cargo.toml",
25 "COPYRIGHT",
26 "LICENSE*",
27 "/*.md",
28 "benches",
29 ]
30 description = "Safe Rust bindings to POSIX/Unix/Linux/Winsock2-like syscalls"
31 documentation = "https://docs.rs/rustix"
32 readme = "README.md"
33 keywords = [
34 "api",
35 "file",
36 "network",
37 "safe",
38 "syscall",
39 ]
40 categories = [
41 "os::unix-apis",
42 "date-and-time",
43 "filesystem",
44 "network-programming",
45 ]
46 license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
47 repository = "https://github.com/bytecodealliance/rustix"
48
49 [package.metadata.docs.rs]
50 features = ["all-apis"]
51 rustdoc-args = [
52 "--cfg",
53 "doc_cfg",
54 ]
55 targets = [
56 "x86_64-unknown-linux-gnu",
57 "i686-unknown-linux-gnu",
58 "x86_64-apple-darwin",
59 "x86_64-pc-windows-msvc",
60 "x86_64-unknown-freebsd",
61 "x86_64-unknown-openbsd",
62 "x86_64-unknown-netbsd",
63 "x86_64-unknown-dragonfly",
64 "x86_64-unknown-illumos",
65 "x86_64-unknown-redox",
66 "x86_64-unknown-haiku",
67 "wasm32-unknown-emscripten",
68 "wasm32-wasi",
69 ]
70
71 [[bench]]
72 name = "mod"
73 harness = false
74
75 [dependencies.alloc]
76 version = "1.0.0"
77 optional = true
78 package = "rustc-std-workspace-alloc"
79
80 [dependencies.bitflags]
81 version = "1.2.1"
82
83 [dependencies.compiler_builtins]
84 version = "0.1.49"
85 optional = true
86
87 [dependencies.core]
88 version = "1.0.0"
89 optional = true
90 package = "rustc-std-workspace-core"
91
92 [dependencies.io-lifetimes]
93 version = "1.0.0"
94 features = ["close"]
95 optional = true
96 default-features = false
97
98 [dependencies.itoa]
99 version = "1.0.1"
100 optional = true
101 default-features = false
102
103 [dev-dependencies.flate2]
104 version = "1.0"
105
106 [dev-dependencies.io-lifetimes]
107 version = "1.0.0"
108 features = ["close"]
109 default-features = false
110
111 [dev-dependencies.libc]
112 version = "0.2.140"
113
114 [dev-dependencies.libc_errno]
115 version = "0.3.0"
116 default-features = false
117 package = "errno"
118
119 [dev-dependencies.memoffset]
120 version = "0.8.0"
121
122 [dev-dependencies.serial_test]
123 version = "0.6"
124
125 [dev-dependencies.tempfile]
126 version = "3.4.0"
127
128 [build-dependencies.cc]
129 version = "1.0.68"
130 optional = true
131
132 [features]
133 all-apis = [
134 "fs",
135 "io_uring",
136 "mm",
137 "net",
138 "param",
139 "process",
140 "procfs",
141 "rand",
142 "runtime",
143 "termios",
144 "thread",
145 "time",
146 ]
147 all-impls = [
148 "os_pipe",
149 "fs-err",
150 ]
151 default = [
152 "std",
153 "use-libc-auxv",
154 ]
155 fs = []
156 fs-err = ["io-lifetimes/fs-err"]
157 io_uring = [
158 "fs",
159 "net",
160 ]
161 linux_4_11 = []
162 linux_latest = ["linux_4_11"]
163 mm = []
164 net = []
165 os_pipe = ["io-lifetimes/os_pipe"]
166 param = ["fs"]
167 process = []
168 procfs = [
169 "once_cell",
170 "itoa",
171 "fs",
172 ]
173 rand = []
174 runtime = []
175 rustc-dep-of-std = [
176 "core",
177 "alloc",
178 "compiler_builtins",
179 "linux-raw-sys/rustc-dep-of-std",
180 "bitflags/rustc-dep-of-std",
181 ]
182 std = ["io-lifetimes"]
183 termios = []
184 thread = []
185 time = []
186 use-libc = [
187 "libc_errno",
188 "libc",
189 ]
190 use-libc-auxv = ["libc"]
191
192 [target."cfg(all(any(target_os = \"android\", target_os = \"linux\"), any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\"))))))))".dependencies.linux-raw-sys]
193 version = "0.3.0"
194 features = [
195 "general",
196 "no_std",
197 ]
198 default-features = false
199
200 [target."cfg(all(criterion, not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dev-dependencies.criterion]
201 version = "0.4"
202
203 [target."cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\")))))".dependencies.libc]
204 version = "0.2.140"
205 features = ["extra_traits"]
206 optional = true
207
208 [target."cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\")))))".dependencies.libc_errno]
209 version = "0.3.0"
210 optional = true
211 default-features = false
212 package = "errno"
213
214 [target."cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\")))))".dependencies.linux-raw-sys]
215 version = "0.3.0"
216 features = [
217 "general",
218 "errno",
219 "ioctl",
220 "no_std",
221 ]
222 default-features = false
223
224 [target."cfg(any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\")))))))".dependencies.libc]
225 version = "0.2.140"
226 features = ["extra_traits"]
227
228 [target."cfg(any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", target_pointer_width = \"64\"), all(target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\")))))))".dependencies.libc_errno]
229 version = "0.3.0"
230 default-features = false
231 package = "errno"
232
233 [target."cfg(any(target_os = \"android\", target_os = \"linux\"))".dependencies.once_cell]
234 version = "1.5.2"
235 optional = true
236
237 [target."cfg(windows)".dependencies.windows-sys]
238 version = "0.45.0"
239 features = [
240 "Win32_Foundation",
241 "Win32_Networking_WinSock",
242 "Win32_NetworkManagement_IpHelper",
243 "Win32_System_Threading",
244 ]
245
246 [target."cfg(windows)".dev-dependencies.ctor]
247 version = "0.1.21"