[[bench]]
harness = false
name = "mod"
[build-dependencies.cc]
optional = true
version = "1.0.68"
[build-dependencies.rustc_version]
version = "0.4.0"
[dependencies.alloc]
optional = true
package = "rustc-std-workspace-alloc"
version = "1.0.0"
[dependencies.bitflags]
version = "1.3.2"
[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.3.2"
[dependencies.itoa]
default-features = false
optional = true
version = "0.4.7"
[dev-dependencies.atty]
version = "0.2.14"
[dev-dependencies.cstr]
version = "0.2.8"
[dev-dependencies.libc]
version = "0.2.98"
[dev-dependencies.serial_test]
version = "0.5"
[dev-dependencies.tempfile]
version = "3.2.0"
[features]
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"]
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"]
socket2 = ["io-lifetimes/socket2"]
std = ["io-lifetimes", "linux-raw-sys/std"]
tokio = ["io-lifetimes/tokio"]
[package]
authors = ["Dan Gohman <dev@sunfishcode.online>", "Jakub Konka <kubkon@jakubkonka.com>"]
categories = ["filesystem", "network-programming", "os::unix-apis"]
description = "Safe Rust bindings to POSIX/Unix/Linux/Winsock-like syscalls"
documentation = "https://docs.rs/rustix"
edition = "2021"
exclude = ["/.github"]
keywords = ["api", "file", "network"]
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
name = "rustix"
repository = "https://github.com/bytecodealliance/rsix"
resolver = "2"
version = "0.26.0"
[package.metadata.docs.rs]
features = ["procfs"]
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(not(rustix_use_libc), any(target_os = \"linux\"), any(target_arch = \"x86\", all(target_arch = \"x86_64\", not(target_pointer_width = \"32\")), target_arch = \"arm\", target_arch = \"aarch64\", target_arch = \"riscv64\")))".dependencies.linux-raw-sys]
default-features = false
features = ["general", "errno", "v5_4", "v5_11"]
version = "0.0.35"
[target."cfg(any(rustix_use_libc, not(all(any(target_os = \"linux\"), any(target_arch = \"x86\", all(target_arch = \"x86_64\", not(target_pointer_width = \"32\")), target_arch = \"arm\", target_arch = \"aarch64\", target_arch = \"riscv64\")))))".dependencies.errno]
default-features = false
version = "0.2.8"
[target."cfg(any(rustix_use_libc, not(all(any(target_os = \"linux\"), any(target_arch = \"x86\", all(target_arch = \"x86_64\", not(target_pointer_width = \"32\")), target_arch = \"arm\", target_arch = \"aarch64\", target_arch = \"riscv64\")))))".dependencies.libc]
features = ["extra_traits"]
version = "0.2.98"
[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"