rustix 0.34.8

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

[dependencies.bitflags]
version = "1.2.1"

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

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

[dependencies.io-lifetimes]
default-features = false
optional = true
version = "0.6.0"

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

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

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

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

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

[features]
all-apis = ["io_uring", "procfs"]
all-impls = ["async-std", "tokio", "os_pipe", "socket2", "mio", "fs-err"]
async-std = ["io-lifetimes/async-std"]
default = ["std"]
fs-err = ["io-lifetimes/fs-err"]
io_uring = ["linux-raw-sys"]
mio = ["io-lifetimes/mio"]
os_pipe = ["io-lifetimes/os_pipe"]
procfs = ["once_cell", "itoa"]
rustc-dep-of-std = ["core", "alloc", "compiler_builtins", "linux-raw-sys/rustc-dep-of-std", "bitflags/rustc-dep-of-std", "libc/rustc-dep-of-std"]
socket2 = ["io-lifetimes/socket2"]
std = ["io-lifetimes"]
tokio = ["io-lifetimes/tokio"]
use-libc = ["errno", "libc"]

[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 = "2018"
exclude = ["/.*", "test-crates"]
keywords = ["api", "file", "network", "safe", "syscall"]
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
name = "rustix"
repository = "https://github.com/bytecodealliance/rustix"
version = "0.34.8"
[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"]
[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\", not(target_pointer_width = \"32\")), all(target_endian = \"little\", any(target_arch = \"arm\", target_arch = \"aarch64\", target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\"))))))))".dependencies.linux-raw-sys]
default-features = false
features = ["general", "no_std"]
optional = true
version = "0.0.46"
[target."cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", not(target_pointer_width = \"32\")), all(target_endian = \"little\", any(target_arch = \"arm\", target_arch = \"aarch64\", target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\")))))".dependencies.errno]
default-features = false
optional = true
version = "0.2.8"

[target."cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", not(target_pointer_width = \"32\")), all(target_endian = \"little\", any(target_arch = \"arm\", target_arch = \"aarch64\", target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\")))))".dependencies.libc]
features = ["extra_traits"]
optional = true
version = "0.2.118"

[target."cfg(all(not(rustix_use_libc), not(miri), target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", not(target_pointer_width = \"32\")), all(target_endian = \"little\", any(target_arch = \"arm\", target_arch = \"aarch64\", target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\")))))".dependencies.linux-raw-sys]
default-features = false
features = ["general", "errno", "ioctl", "no_std"]
version = "0.0.46"
[target."cfg(all(windows, not(target_vendor = \"uwp\")))".dependencies.winapi]
features = ["handleapi"]
version = "0.3.9"
[target."cfg(any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", not(target_pointer_width = \"32\")), all(target_endian = \"little\", any(target_arch = \"arm\", target_arch = \"aarch64\", target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\")))))))".dependencies.errno]
default-features = false
version = "0.2.8"

[target."cfg(any(rustix_use_libc, miri, not(all(target_os = \"linux\", any(target_arch = \"x86\", all(target_arch = \"x86_64\", not(target_pointer_width = \"32\")), all(target_endian = \"little\", any(target_arch = \"arm\", target_arch = \"aarch64\", target_arch = \"powerpc64\", target_arch = \"riscv64\", target_arch = \"mips\", target_arch = \"mips64\")))))))".dependencies.libc]
features = ["extra_traits"]
version = "0.2.118"
[target."cfg(any(target_os = \"android\", target_os = \"linux\"))".dependencies.once_cell]
optional = true
version = "1.5.2"
[target."cfg(not(target_os = \"emscripten\"))".dev-dependencies.criterion]
version = "0.3"
[target."cfg(windows)".dependencies.winapi]
features = ["ws2ipdef", "ws2tcpip"]
version = "0.3.9"
[target."cfg(windows)".dev-dependencies.ctor]
version = "0.1.21"