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/Winsock2-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]
83 [dependencies.compiler_builtins]
90 package = "rustc-std-workspace-core"
92 [dependencies.io-lifetimes]
96 default-features = false
101 default-features = false
103 [dev-dependencies.flate2]
106 [dev-dependencies.io-lifetimes]
109 default-features = false
111 [dev-dependencies.libc]
114 [dev-dependencies.libc_errno]
116 default-features = false
119 [dev-dependencies.memoffset]
122 [dev-dependencies.serial_test]
125 [dev-dependencies.tempfile]
128 [build-dependencies.cc]
156 fs-err = ["io-lifetimes/fs-err"]
162 linux_latest = ["linux_4_11"]
165 os_pipe = ["io-lifetimes/os_pipe"]
179 "linux-raw-sys/rustc-dep-of-std",
180 "bitflags/rustc-dep-of-std",
182 std = ["io-lifetimes"]
190 use-libc-auxv = ["libc"]
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]
198 default-features = false
200 [target."cfg(all(criterion, not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dev-dependencies.criterion]
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]
205 features = ["extra_traits"]
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]
211 default-features = false
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]
222 default-features = false
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]
226 features = ["extra_traits"]
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]
230 default-features = false
233 [target."cfg(any(target_os = \"android\", target_os = \"linux\"))".dependencies.once_cell]
237 [target."cfg(windows)".dependencies.windows-sys]
241 "Win32_Networking_WinSock",
242 "Win32_NetworkManagement_IpHelper",
243 "Win32_System_Threading",
246 [target."cfg(windows)".dev-dependencies.ctor]