[dependencies]
[features]
close = ["libc", "hermit-abi", "windows-sys"]
default = []
[lib]
name = "io_lifetimes"
path = "src/lib.rs"
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(wasi_ext)"]
level = "warn"
priority = 0
[package]
authors = ["Dan Gohman <dev@sunfishcode.online>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["os", "rust-patterns"]
description = "A low-level I/O ownership and borrowing library"
edition = "2021"
include = ["src", "build.rs", "Cargo.toml", "COPYRIGHT", "LICENSE*", "/*.md"]
keywords = ["api", "io"]
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
name = "io-lifetimes"
readme = "README.md"
repository = "https://github.com/sunfishcode/io-lifetimes"
rust-version = "1.63"
version = "2.0.4"
[package.metadata.docs.rs]
features = ["close"]
[target.'cfg(not(target_os = "wasi"))'.dependencies.async-std]
features = ["io_safety"]
optional = true
version = "1.13.0"
[target.'cfg(not(target_os = "wasi"))'.dependencies.mio]
features = ["net", "os-ext"]
optional = true
version = "0.8.0"
[target.'cfg(not(target_os = "wasi"))'.dependencies.os_pipe]
features = ["io_safety"]
optional = true
version = "1.0.0"
[target.'cfg(not(target_os = "wasi"))'.dependencies.socket2]
optional = true
version = "0.5.0"
[target.'cfg(not(target_os = "wasi"))'.dependencies.tokio]
features = ["io-std", "fs", "net", "process"]
optional = true
version = "1.6.0"
[target."cfg(not(windows))".dependencies.libc]
optional = true
version = "0.2.96"
[target.'cfg(target_os = "hermit")'.dependencies.hermit-abi]
optional = true
version = ">=0.3, <=0.4"
[target."cfg(windows)".dependencies.windows-sys]
features = ["Win32_Foundation", "Win32_Storage_FileSystem", "Win32_Networking_WinSock", "Win32_Security", "Win32_System_IO"]
optional = true
version = ">=0.52, <=0.59"