1[package]
2name = "async-io"
3# When publishing a new version:
4# - Update CHANGELOG.md
5# - Create "v2.x.y" git tag
6version = "2.3.2"
7authors = ["Stjepan Glavina <stjepang@gmail.com>"]
8edition = "2021"
9rust-version = "1.63"
10description = "Async I/O and timers"
11license = "Apache-2.0 OR MIT"
12repository = "https://github.com/smol-rs/async-io"
13keywords = ["mio", "epoll", "kqueue", "iocp"]
14categories = ["asynchronous", "network-programming", "os"]
15exclude = ["/.*"]
16
17[[bench]]
18name = "io"
19harness = false
20
21[[bench]]
22name = "timer"
23harness = false
24
25[dependencies]
26async-lock = "3.0.0"
27cfg-if = "1"
28concurrent-queue = "2.2.0"
29futures-io = { version = "0.3.28", default-features = false, features = ["std"] }
30futures-lite = { version = "2.0.0", default-features = false }
31parking = "2.0.0"
32polling = "3.0.0"
33rustix = { version = "0.38.2", default-features = false, features = ["fs", "net", "std"] }
34slab = "0.4.2"
35tracing = { version = "0.1.37", default-features = false }
36
37[target.'cfg(windows)'.dependencies]
38windows-sys = { version = "0.52.0", features = ["Win32_Foundation"] }
39
40[dev-dependencies]
41async-channel = "2.0.0"
42async-net = "2.0.0"
43blocking = "1"
44criterion = { version = "0.4", default-features = false, features = ["cargo_bench_support"] }
45getrandom = "0.2.7"
46signal-hook = "0.3"
47tempfile = "3"
48
49[target.'cfg(target_os = "linux")'.dev-dependencies]
50inotify = { version = "0.10.1", default-features = false }
51timerfd = "1"
52
53[target.'cfg(windows)'.dev-dependencies]
54uds_windows = "1"
55
56[patch.crates-io]
57async-io = { path = "." }
58