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",
69 package = "rustc-std-workspace-alloc"
71 [dependencies.bitflags]
74 [dependencies.compiler_builtins]
81 package = "rustc-std-workspace-core"
83 [dependencies.io-lifetimes]
87 default-features = false
92 default-features = false
94 [dev-dependencies.flate2]
97 [dev-dependencies.io-lifetimes]
100 default-features = false
102 [dev-dependencies.libc]
105 [dev-dependencies.libc_errno]
107 default-features = false
110 [dev-dependencies.memoffset]
113 [dev-dependencies.serial_test]
116 [dev-dependencies.tempfile]
119 [build-dependencies.cc]
147 fs-err = ["io-lifetimes/fs-err"]
154 os_pipe = ["io-lifetimes/os_pipe"]
168 "linux-raw-sys/rustc-dep-of-std",
169 "bitflags/rustc-dep-of-std",
171 std = ["io-lifetimes"]
179 use-libc-auxv = ["libc"]
181 [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]
187 default-features = false
189 [target."cfg(all(criterion, not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dev-dependencies.criterion]
192 [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]
194 features = ["extra_traits"]
197 [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]
200 default-features = false
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.linux-raw-sys]
211 default-features = false
213 [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]
215 features = ["extra_traits"]
217 [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]
219 default-features = false
222 [target."cfg(any(target_os = \"android\", target_os = \"linux\"))".dependencies.once_cell]
226 [target."cfg(windows)".dependencies.windows-sys]
230 "Win32_Networking_WinSock",
231 "Win32_NetworkManagement_IpHelper",
232 "Win32_System_Threading",
235 [target."cfg(windows)".dev-dependencies.ctor]