1[package]
2name = "signal-hook-mio"
3version = "0.2.3"
4authors = [
5 "Michal 'vorner' Vaner <vorner@vorner.cz>",
6 "Thomas Himmelstoss <thimm@posteo.de>",
7]
8
9description = "MIO support for signal-hook"
10documentation = "https://docs.rs/signal-hook-mio"
11readme = "README.md"
12repository = "https://github.com/vorner/signal-hook"
13keywords = ["signal", "unix", "mio"]
14license = "Apache-2.0/MIT"
15
16edition = "2018"
17
18[badges]
19travis-ci = { repository = "vorner/signal-hook" }
20maintenance = { status = "actively-developed" }
21
22[features]
23support-v0_6 = ["mio-0_6", "mio-uds"]
24support-v0_7 = ["mio-0_7"]
25support-v0_8 = ["mio-0_8"]
26
27[dependencies]
28libc = "~0.2"
29signal-hook = { version = "~0.3", path = ".." }
30mio-0_8 = { package = "mio", version = "~0.8", features = ["net", "os-ext"], optional = true }
31mio-0_7 = { package = "mio", version = "~0.7", features = ["os-util", "uds"], optional = true }
32mio-0_6 = { package = "mio", version = "~0.6", optional = true }
33mio-uds = { version = "~0.6", optional = true}
34
35[dev-dependencies]
36mio-0_7 = { package = "mio", version = "~0.7", features = ["os-util", "os-poll", "uds"] }
37serial_test = "~0.5"
38
39[package.metadata.docs.rs]
40all-features = true
41rustdoc-args = ["--cfg", "docsrs"]
42