[[bench]]
harness = false
name = "io"
path = "benches/io.rs"
[[bench]]
harness = false
name = "timer"
path = "benches/timer.rs"
[dependencies.async-lock]
version = "3.0.0"
[dependencies.cfg-if]
version = "1"
[dependencies.concurrent-queue]
version = "2.2.0"
[dependencies.futures-io]
default-features = false
features = ["std"]
version = "0.3.28"
[dependencies.futures-lite]
default-features = false
version = "2.0.0"
[dependencies.parking]
version = "2.0.0"
[dependencies.polling]
version = "3.0.0"
[dependencies.rustix]
default-features = false
features = ["fs", "net", "std"]
version = "0.38.18"
[dependencies.slab]
version = "0.4.2"
[dependencies.tracing]
default-features = false
version = "0.1.37"
[dev-dependencies.async-channel]
version = "2.0.0"
[dev-dependencies.async-net]
version = "2.0.0"
[dev-dependencies.blocking]
version = "1"
[dev-dependencies.criterion]
default-features = false
features = ["cargo_bench_support"]
version = "0.4"
[dev-dependencies.getrandom]
version = "0.2.7"
[dev-dependencies.signal-hook]
version = "0.3"
[dev-dependencies.tempfile]
version = "3"
[[example]]
name = "kqueue-process"
path = "examples/kqueue-process.rs"
[[example]]
name = "linux-inotify"
path = "examples/linux-inotify.rs"
[[example]]
name = "linux-timerfd"
path = "examples/linux-timerfd.rs"
[[example]]
name = "unix-signal"
path = "examples/unix-signal.rs"
[[example]]
name = "windows-command"
path = "examples/windows-command.rs"
[[example]]
name = "windows-uds"
path = "examples/windows-uds.rs"
[lib]
name = "async_io"
path = "src/lib.rs"
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(polling_test_poll_backend)"]
level = "warn"
priority = 0
[package]
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["asynchronous", "network-programming", "os"]
description = "Async I/O and timers"
edition = "2021"
exclude = ["/.*"]
keywords = ["mio", "epoll", "kqueue", "iocp"]
license = "Apache-2.0 OR MIT"
name = "async-io"
readme = "README.md"
repository = "https://github.com/smol-rs/async-io"
rust-version = "1.63"
version = "2.4.0"
[target.'cfg(target_os = "linux")'.dev-dependencies.inotify]
default-features = false
version = "0.11.0"
[target.'cfg(target_os = "linux")'.dev-dependencies.timerfd]
version = "1"
[target."cfg(windows)".dependencies.windows-sys]
features = ["Win32_Foundation"]
version = "0.59.0"
[target."cfg(windows)".dev-dependencies.uds_windows]
version = "1"
[[test]]
name = "async"
path = "tests/async.rs"
[[test]]
name = "block_on"
path = "tests/block_on.rs"
[[test]]
name = "issue_182"
path = "tests/issue_182.rs"
[[test]]
name = "timer"
path = "tests/timer.rs"