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