1[package]
2name = "calloop"
3version = "0.12.4"
4authors = ["Elinor Berger <elinor@safaradeg.net>"]
5documentation = "https://docs.rs/calloop/"
6repository = "https://github.com/Smithay/calloop"
7license = "MIT"
8description = "A callback-based event loop"
9keywords = [ "events", "loop", "callback", "eventloop", "unix" ]
10autotests = false
11edition = "2018"
12readme = "README.md"
13rust-version = "1.63.0"
14
15[workspace]
16members = [ "doc" ]
17
18[badges]
19codecov = { repository = "Smithay/calloop" }
20
21[dependencies]
22async-task = { version = "4.4.0", optional = true }
23bitflags = "2.4"
24futures-io = { version = "0.3.5", optional = true }
25log = "0.4"
26pin-utils = { version = "0.1.0", optional = true }
27polling = "3.0.0"
28slab = "0.4.8"
29rustix = { version = "0.38", default-features = false, features = ["event", "fs", "pipe", "std"] }
30thiserror = "1.0.7"
31
32[target.'cfg(unix)'.dependencies]
33nix = { version = "0.26", default-features = false, features = ["signal"], optional = true }
34
35[dev-dependencies]
36futures = "0.3.5"
37rustix = { version = "0.38", default-features = false, features = ["net"] }
38
39[features]
40block_on = ["pin-utils"]
41executor = ["async-task"]
42nightly_coverage = []
43signals = ["nix"]
44
45[package.metadata.docs.rs]
46features = ["block_on", "executor", "signals"]
47rustdoc-args = ["--cfg", "docsrs"]
48
49[[test]]
50name = "signals"
51harness = false
52