rustix 0.38.16

Safe Rust bindings to POSIX/Unix/Linux/Winsock2-like syscalls
Documentation
[[bench]]
harness = false
name = "mod"
[dependencies.alloc]
optional = true
package = "rustc-std-workspace-alloc"
version = "1.0.0"

[dependencies.bitflags]
default-features = false
version = "2.4.0"

[dependencies.compiler_builtins]
optional = true
version = "0.1.49"

[dependencies.core]
optional = true
package = "rustc-std-workspace-core"
version = "1.0.0"

[dependencies.itoa]
default-features = false
optional = true
version = "1.0.1"
[dev-dependencies.flate2]
version = "1.0"

[dev-dependencies.libc]
version = "0.2.148"

[dev-dependencies.libc_errno]
default-features = false
package = "errno"
version = "0.3.1"

[dev-dependencies.memoffset]
version = "0.9.0"

[dev-dependencies.serial_test]
version = "2.0.0"

[dev-dependencies.static_assertions]
version = "1.1.0"

[dev-dependencies.tempfile]
version = "3.5.0"

[features]
all-apis = ["event", "fs", "io_uring", "mm", "mount", "net", "param", "pipe", "process", "procfs", "pty", "rand", "runtime", "shm", "stdio", "system", "termios", "thread", "time"]
alloc = []
cc = []
default = ["std", "use-libc-auxv"]
event = []
fs = []
io_uring = ["fs", "net", "linux-raw-sys/io_uring"]
linux_4_11 = []
linux_latest = ["linux_4_11"]
mm = []
mount = []
net = ["linux-raw-sys/net", "linux-raw-sys/netlink", "linux-raw-sys/if_ether"]
param = ["fs"]
pipe = []
process = ["linux-raw-sys/prctl"]
procfs = ["once_cell", "itoa", "fs"]
pty = ["itoa", "fs"]
rand = []
runtime = ["linux-raw-sys/prctl"]
rustc-dep-of-std = ["dep:core", "dep:alloc", "dep:compiler_builtins", "linux-raw-sys/rustc-dep-of-std", "bitflags/rustc-dep-of-std", "compiler_builtins?/rustc-dep-of-std"]
shm = ["fs"]
std = ["bitflags/std", "alloc", "libc?/std", "libc_errno?/std"]
stdio = []
system = ["linux-raw-sys/system"]
termios = []
thread = ["linux-raw-sys/prctl"]
time = []
use-explicitly-provided-auxv = []
use-libc = ["libc_errno", "libc"]
use-libc-auxv = []

[package]
authors = ["Dan Gohman <dev@sunfishcode.online>", "Jakub Konka <kubkon@jakubkonka.com>"]
categories = ["os::unix-apis", "date-and-time", "filesystem", "network-programming"]
description = "Safe Rust bindings to POSIX/Unix/Linux/Winsock2-like syscalls"
documentation = "https://docs.rs/rustix"
edition = "2021"
include = ["src", "build.rs", "Cargo.toml", "COPYRIGHT", "LICENSE*", "/*.md", "benches"]
keywords = ["api", "file", "network", "safe", "syscall"]
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
name = "rustix"
readme = "README.md"
repository = "https://github.com/bytecodealliance/rustix"
rust-version = "1.63"
version = "0.38.16"
[package.metadata.docs.rs]
features = ["all-apis"]
rustdoc-args = ["--cfg", "doc_cfg"]
targets = ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "x86_64-unknown-freebsd", "x86_64-unknown-openbsd", "x86_64-unknown-netbsd", "x86_64-unknown-dragonfly", "x86_64-unknown-illumos", "x86_64-unknown-redox", "x86_64-unknown-haiku", "wasm32-unknown-emscripten", "wasm32-wasi"]
[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]
default-features = false
features = ["general", "ioctl", "no_std"]
version = "0.4.8"
[target."cfg(all(criterion, not(any(target_os = \"emscripten\", target_os = \"wasi\"))))".dev-dependencies.criterion]
version = "0.4"
[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]
default-features = false
features = ["extra_traits"]
optional = true
version = "0.2.148"

[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]
default-features = false
optional = true
package = "errno"
version = "0.3.1"

[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]
default-features = false
features = ["general", "errno", "ioctl", "no_std", "elf"]
version = "0.4.8"
[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]
default-features = false
features = ["extra_traits"]
version = "0.2.148"

[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]
default-features = false
package = "errno"
version = "0.3.1"
[target."cfg(any(target_os = \"android\", target_os = \"linux\"))".dependencies.once_cell]
optional = true
version = "1.5.2"
[target."cfg(windows)".dependencies.libc_errno]
default-features = false
package = "errno"
version = "0.3.1"

[target."cfg(windows)".dependencies.windows-sys]
features = ["Win32_Foundation", "Win32_Networking_WinSock", "Win32_NetworkManagement_IpHelper", "Win32_System_Threading"]
version = "0.48.0"
[target."cfg(windows)".dev-dependencies.ctor]
version = "0.2.0"