process: Only pull in mio dependency on unix platforms

This commit is contained in:
Ivan Petkov
2019-06-24 16:57:20 -07:00
parent a70a3b599a
commit fc15d7d4a4
3 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -22,7 +22,6 @@ codecov = { repository = "alexcrichton/tokio-process" }
[dependencies]
futures = "0.1.11"
mio = "0.6.5"
tokio-io = "0.1"
tokio-reactor = "0.1"
@@ -53,4 +52,5 @@ features = [
[target.'cfg(unix)'.dependencies]
libc = "0.2"
mio = "0.6.5"
tokio-signal = "0.2.5"