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