signal: Update the windows implementation to work with tokio

BREAKING CHANGE

`ctrl_c` now takes a `tokio_reactor::Handle`
This commit is contained in:
Markus Westerlind
2018-09-10 11:30:03 -07:00
committed by Carl Lerche
parent 2848df9b6c
commit e97e8cb7fe
4 changed files with 33 additions and 23 deletions
+5 -1
View File
@@ -18,13 +18,17 @@ appveyor = { repository = "alexcrichton/tokio-signal" }
[dependencies]
futures = "0.1.11"
mio = "0.6.5"
tokio-core = "0.1.6"
tokio-reactor = "0.1.0"
tokio-executor = "0.1.0"
tokio-io = "0.1"
[target.'cfg(unix)'.dependencies]
libc = "0.2"
mio-uds = "0.6"
[dev-dependencies]
tokio-core = "0.1.17"
[target.'cfg(windows)'.dependencies.winapi]
version = "0.3"
features = ["minwindef", "wincon"]