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.
18 "Dan Gohman <dev@sunfishcode.online>",
19 "Jakub Konka <kubkon@jakubkonka.com>",
30 description = "Safe Rust bindings to POSIX/Unix/Linux/Winsock-like syscalls"
31 documentation = "https://docs.rs/rustix"
44 "network-programming",
46 license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
47 repository = "https://github.com/bytecodealliance/rustix"
49 [package.metadata.docs.rs]
50 features = ["all-apis"]
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",
78 package = "rustc-std-workspace-alloc"
80 [dependencies.bitflags]
82 default-features = false
84 [dependencies.compiler_builtins]
91 package = "rustc-std-workspace-core"
96 default-features = false
98 [dev-dependencies.flate2]
101 [dev-dependencies.libc]
104 [dev-dependencies.libc_errno]
106 default-features = false
109 [dev-dependencies.memoffset]
112 [dev-dependencies.serial_test]
115 [dev-dependencies.static_assertions]
118 [dev-dependencies.tempfile]
155 "linux-raw-sys/io_uring",
158 linux_latest = ["linux_4_11"]
163 "linux-raw-sys/netlink",
164 "linux-raw-sys/if_ether",
168 process = ["linux-raw-sys/prctl"]
179 runtime = ["linux-raw-sys/prctl"]
183 "dep:compiler_builtins",
184 "linux-raw-sys/rustc-dep-of-std",
185 "bitflags/rustc-dep-of-std",
186 "compiler_builtins?/rustc-dep-of-std",
196 system = ["linux-raw-sys/system"]
198 thread = ["linux-raw-sys/prctl"]
200 use-explicitly-provided-auxv = []
207 [target."cfg(all(any(target_os = \"android\", target_os = \"linux\"), any(rustix_use_libc, miri, not(all(target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), 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]
214 default-features = false
216 [target."cfg(all(criterion, not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dev-dependencies.criterion]
219 [target."cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), 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]
221 features = ["extra_traits"]
223 default-features = false
225 [target."cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), 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]
228 default-features = false
231 [target."cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), 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]
240 default-features = false
242 [target."cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), 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]
244 features = ["extra_traits"]
245 default-features = false
247 [target."cfg(all(not(windows), any(rustix_use_libc, miri, not(all(target_os = \"linux\", target_endian = \"little\", any(target_arch = \"arm\", all(target_arch = \"aarch64\", target_pointer_width = \"64\"), target_arch = \"riscv64\", all(rustix_use_experimental_asm, target_arch = \"powerpc64\"), 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]
249 default-features = false
252 [target."cfg(any(target_os = \"android\", target_os = \"linux\"))".dependencies.once_cell]
256 [target."cfg(windows)".dependencies.libc_errno]
258 default-features = false
261 [target."cfg(windows)".dependencies.windows-sys]
265 "Win32_Networking_WinSock",
266 "Win32_NetworkManagement_IpHelper",
267 "Win32_System_Threading",
270 [target."cfg(windows)".dev-dependencies.ctor]