forked from Smithay/calloop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
55 lines (46 loc) · 1.42 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
[package]
name = "calloop"
version = "0.14.1"
authors = ["Elinor Berger <[email protected]>"]
documentation = "https://docs.rs/calloop/"
repository = "https://github.com/Smithay/calloop"
license = "MIT"
description = "A callback-based event loop"
keywords = [ "events", "loop", "callback", "eventloop", "unix" ]
autotests = false
edition = "2018"
readme = "README.md"
rust-version = "1.63.0"
[workspace]
members = [ "doc" ]
[badges]
codecov = { repository = "Smithay/calloop" }
[dependencies]
async-task = { version = "4.4.0", optional = true }
bitflags = "2.4"
futures-io = { version = "0.3.5", optional = true }
pin-utils = { version = "0.1.0", optional = true }
polling = "3.0.0"
rustix = { version = "0.38", default-features = false, features = ["event", "fs", "pipe", "std"] }
slab = "0.4.8"
tracing = { version = "0.1.40", default-features = false, features = ["log"] }
[target.'cfg(unix)'.dependencies]
nix = { version = "0.29", default-features = false, features = ["signal"], optional = true }
[dev-dependencies]
futures = "0.3.5"
rustix = { version = "0.38", default-features = false, features = ["net"] }
criterion = { version = "0.4" }
[features]
block_on = ["pin-utils"]
executor = ["async-task"]
nightly_coverage = []
signals = ["nix"]
[package.metadata.docs.rs]
features = ["block_on", "executor", "signals"]
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "signals"
harness = false
[[bench]]
name = "timer"
harness = false