1 | [package] |
2 | name = "async-io" |
3 | # When publishing a new version: |
4 | # - Update CHANGELOG.md |
5 | # - Create "v1.x.y" git tag |
6 | version = "1.13.0" |
7 | authors = ["Stjepan Glavina <stjepang@gmail.com>" ] |
8 | edition = "2018" |
9 | rust-version = "1.48" |
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 = "2.6" |
27 | cfg-if = "1" |
28 | concurrent-queue = "2" |
29 | futures-lite = "1.11.0" |
30 | log = "0.4.11" |
31 | parking = "2.0.0" |
32 | polling = "2.0.0" |
33 | rustix = { version = "0.37.1" , default-features = false, features = ["std" , "fs" ] } |
34 | slab = "0.4.2" |
35 | socket2 = { version = "0.4.2" , features = ["all" ] } |
36 | waker-fn = "1.1.0" |
37 | |
38 | [build-dependencies] |
39 | autocfg = "1" |
40 | |
41 | [dev-dependencies] |
42 | async-channel = "1" |
43 | async-net = "1" |
44 | blocking = "1" |
45 | criterion = { version = "0.4" , default-features = false, features = ["cargo_bench_support" ] } |
46 | getrandom = "0.2.7" |
47 | signal-hook = "0.3" |
48 | tempfile = "3" |
49 | |
50 | [target.'cfg(target_os = "linux")'.dev-dependencies] |
51 | inotify = { version = "0.10" , default-features = false } |
52 | timerfd = "1" |
53 | |
54 | [target.'cfg(windows)'.dev-dependencies] |
55 | uds_windows = "1" |
56 | |