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