summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2019-11-11 13:53:29 +0100
committerAram Drevekenin <aram@poor.dev>2019-11-11 13:53:29 +0100
commit45b4b67e611a502fa4a30259e9948785c68a5fc8 (patch)
tree6e52743085f681b174543eebbd2867beaccadc99
parentaccd77c2474e10745b22f75a62312bfb126884da (diff)
fix(deps): do not break linux
-rw-r--r--Cargo.toml4
1 files changed, 3 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index e5aae61..01751af 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,7 +14,6 @@ exclude = ["src/tests/*", "demo.gif"]
[dependencies]
pnet = "0.22.0"
-procfs = { version = "0.5.3", optional = true }
ipnetwork = "0.14.0"
tui = "0.5"
termion = "1.5"
@@ -24,6 +23,9 @@ signal-hook = "0.1.10"
failure = "0.1.6"
chrono = "0.4"
+[target.'cfg(unix)'.dependencies]
+procfs = "0.5.3"
+
[dev-dependencies]
insta = "0.11.0"
cargo-insta = "0.11.0"