Debian Codegraph @

debian/rust-vendor/rustix/Cargo.toml

raw
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 = "2021"
14 rust-version = "1.63"
15 name = "rustix"
16 version = "1.1.4"
17 authors = [
18 "Dan Gohman <[email protected]>",
19 "Jakub Konka <[email protected]>",
20 ]
21 build = "build.rs"
22 include = [
23 "src",
24 "build.rs",
25 "Cargo.toml",
26 "COPYRIGHT",
27 "LICENSE*",
28 "/*.md",
29 "benches",
30 ]
31 autolib = false
32 autobins = false
33 autoexamples = false
34 autotests = false
35 autobenches = false
36 description = "Safe Rust bindings to POSIX/Unix/Linux/Winsock-like syscalls"
37 documentation = "https://docs.rs/rustix"
38 readme = "README.md"
39 keywords = [
40 "api",
41 "file",
42 "network",
43 "safe",
44 "syscall",
45 ]
46 categories = [
47 "os::unix-apis",
48 "date-and-time",
49 "filesystem",
50 "network-programming",
51 ]
52 license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
53 repository = "https://github.com/bytecodealliance/rustix"
54
55 [package.metadata.docs.rs]
56 features = ["all-apis"]
57 targets = [
58 "x86_64-unknown-linux-gnu",
59 "i686-unknown-linux-gnu",
60 "x86_64-apple-darwin",
61 "x86_64-pc-windows-msvc",
62 "x86_64-unknown-freebsd",
63 "x86_64-unknown-openbsd",
64 "x86_64-unknown-netbsd",
65 "x86_64-unknown-dragonfly",
66 "x86_64-unknown-illumos",
67 "x86_64-unknown-redox",
68 "x86_64-unknown-haiku",
69 "wasm32-unknown-emscripten",
70 "wasm32-wasip1",
71 ]
72
73 [features]
74 all-apis = [
75 "event",
76 "fs",
77 "io_uring",
78 "mm",
79 "mount",
80 "net",
81 "param",
82 "pipe",
83 "process",
84 "pty",
85 "rand",
86 "runtime",
87 "shm",
88 "stdio",
89 "system",
90 "termios",
91 "thread",
92 "time",
93 ]
94 alloc = []
95 default = ["std"]
96 event = []
97 fs = []
98 io_uring = [
99 "event",
100 "fs",
101 "net",
102 "thread",
103 "linux-raw-sys/io_uring",
104 ]
105 linux_4_11 = []
106 linux_5_1 = ["linux_4_11"]
107 linux_5_11 = ["linux_5_1"]
108 linux_latest = ["linux_5_11"]
109 mm = []
110 mount = []
111 net = [
112 "linux-raw-sys/net",
113 "linux-raw-sys/netlink",
114 "linux-raw-sys/if_ether",
115 "linux-raw-sys/xdp",
116 ]
117 param = []
118 pipe = []
119 process = ["linux-raw-sys/prctl"]
120 pty = ["fs"]
121 rand = []
122 runtime = ["linux-raw-sys/prctl"]
123 rustc-dep-of-std = [
124 "core",
125 "rustc-std-workspace-alloc",
126 "linux-raw-sys/rustc-dep-of-std",
127 "bitflags/rustc-dep-of-std",
128 ]
129 shm = ["fs"]
130 std = [
131 "bitflags/std",
132 "alloc",
133 "libc?/std",
134 "libc_errno?/std",
135 ]
136 stdio = []
137 system = ["linux-raw-sys/system"]
138 termios = []
139 thread = ["linux-raw-sys/prctl"]
140 time = []
141 try_close = []
142 use-explicitly-provided-auxv = []
143 use-libc = [
144 "libc_errno",
145 "libc",
146 ]
147 use-libc-auxv = []
148
149 [lib]
150 name = "rustix"
151 path = "src/lib.rs"
152
153 [[bench]]
154 name = "mod"
155 path = "benches/mod.rs"
156 harness = false
157
158 [dependencies.bitflags]
159 version = "2.4.0"
160 default-features = false
161
162 [dependencies.core]
163 version = "1.0.0"
164 optional = true
165 package = "rustc-std-workspace-core"
166
167 [dependencies.rustc-std-workspace-alloc]
168 version = "1.0.0"
169 optional = true
170
171 [dev-dependencies.flate2]
172 version = "1.0"
173
174 [dev-dependencies.libc]
175 version = "0.2.171"
176
177 [dev-dependencies.libc_errno]
178 version = "0.3.10"
179 default-features = false
180 package = "errno"
181
182 [dev-dependencies.memoffset]
183 version = "0.9.0"
184
185 [dev-dependencies.serial_test]
186 version = "2.0.0"
187
188 [dev-dependencies.static_assertions]
189 version = "1.1.0"
190
191 [dev-dependencies.tempfile]
192 version = "3.5.0"
193
194 [target.'cfg(all(any(target_os = "linux", target_os = "android"), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))))))'.dependencies.linux-raw-sys]
195 version = "0.12"
196 features = [
197 "general",
198 "ioctl",
199 "no_std",
200 ]
201 default-features = false
202
203 [target.'cfg(all(criterion, not(any(target_os = "emscripten", target_os = "wasi"))))'.dev-dependencies.criterion]
204 version = "0.4"
205
206 [target.'cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))'.dependencies.libc]
207 version = "0.2.182"
208 optional = true
209 default-features = false
210
211 [target.'cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))'.dependencies.libc_errno]
212 version = "0.3.10"
213 optional = true
214 default-features = false
215 package = "errno"
216
217 [target.'cfg(all(not(rustix_use_libc), not(miri), target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"))))'.dependencies.linux-raw-sys]
218 version = "0.12"
219 features = [
220 "auxvec",
221 "general",
222 "errno",
223 "ioctl",
224 "no_std",
225 "elf",
226 ]
227 default-features = false
228
229 [target.'cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))))))'.dependencies.libc]
230 version = "0.2.182"
231 default-features = false
232
233 [target.'cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_endian = "little", any(target_arch = "s390x", target_arch = "powerpc")), any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "riscv64", all(rustix_use_experimental_asm, target_arch = "powerpc"), all(rustix_use_experimental_asm, target_arch = "powerpc64"), all(rustix_use_experimental_asm, target_arch = "s390x"), all(rustix_use_experimental_asm, target_arch = "mips"), all(rustix_use_experimental_asm, target_arch = "mips32r6"), all(rustix_use_experimental_asm, target_arch = "mips64"), all(rustix_use_experimental_asm, target_arch = "mips64r6"), target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64")))))))'.dependencies.libc_errno]
234 version = "0.3.10"
235 default-features = false
236 package = "errno"
237
238 [target."cfg(windows)".dependencies.libc_errno]
239 version = "0.3.10"
240 default-features = false
241 package = "errno"
242
243 [target."cfg(windows)".dependencies.windows-sys]
244 version = ">=0.52, <0.62"
245 features = [
246 "Win32_Foundation",
247 "Win32_Networking_WinSock",
248 ]
249
250 [target."cfg(windows)".dev-dependencies.once_cell]
251 version = "1.20.3"
252
253 [lints.rust.unexpected_cfgs]
254 level = "warn"
255 priority = 0
256 check-cfg = [
257 "cfg(alloc_c_string)",
258 "cfg(alloc_ffi)",
259 "cfg(apple)",
260 "cfg(asm_experimental_arch)",
261 "cfg(bsd)",
262 "cfg(core_c_str)",
263 "cfg(core_ffi_c)",
264 "cfg(core_intrinsics)",
265 "cfg(criterion)",
266 "cfg(document_experimental_runtime_api)",
267 "cfg(error_in_core)",
268 "cfg(fix_y2038)",
269 "cfg(freebsdlike)",
270 "cfg(libc)",
271 "cfg(linux_kernel)",
272 "cfg(linux_like)",
273 "cfg(linux_raw)",
274 "cfg(linux_raw_dep)",
275 "cfg(lower_upper_exp_for_non_zero)",
276 "cfg(sanitize_memory)",
277 "cfg(netbsdlike)",
278 "cfg(rustc_attrs)",
279 "cfg(rustc_diagnostics)",
280 "cfg(solarish)",
281 "cfg(staged_api)",
282 "cfg(static_assertions)",
283 "cfg(thumb_mode)",
284 "cfg(wasi)",
285 "cfg(wasi_ext)",
286 "cfg(wasip2)",
287 'cfg(target_arch, values("xtensa"))',
288 'cfg(target_os, values("cygwin"))',
289 ]
290
291 [hints]
292 mostly-unused = true