signal: Various cleanups:

* Drop nix/lazy_static
* Use previously registered handlers
* Handle some more errors
This commit is contained in:
Alex Crichton
2018-09-10 11:29:57 -07:00
committed by Carl Lerche
parent 367cb56e02
commit ba0921a01d
3 changed files with 144 additions and 106 deletions
+2 -6
View File
@@ -11,19 +11,15 @@ An implementation of an asynchronous Unix signal handling backed futures.
"""
[dependencies]
tokio-core = "0.1"
tokio-core = "0.1.4"
futures = "0.1.7"
lazy_static = "0.2"
nix = "0.7"
[target.'cfg(unix)'.dependencies]
libc = "0.2"
mio = "0.6"
mio-uds = "0.6"
[target.'cfg(windows)'.dependencies]
winapi = "0.2"
kernel32-sys = "0.2"
mio = "0.6"
[replace]
"tokio-core:0.1.3" = { git = "https://github.com/tokio-rs/tokio-core" }