summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoretoledom <etoledom@icloud.com>2019-11-11 11:37:16 +0100
committeretoledom <etoledom@icloud.com>2019-11-11 11:37:16 +0100
commit0f139da8574d8315cc5eb2a0cc00f694d1b384ad (patch)
treef44b226d75efaff78ebc52cad06603609a0b734e
parenta6a9577a6231660611fbaf204ecf6d9e491bf891 (diff)
Making procfs optional
To avoid compile errors on mac
-rw-r--r--Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 5bdc8d2..e5aae61 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -14,7 +14,7 @@ exclude = ["src/tests/*", "demo.gif"]
[dependencies]
pnet = "0.22.0"
-procfs = "0.5.3"
+procfs = { version = "0.5.3", optional = true }
ipnetwork = "0.14.0"
tui = "0.5"
termion = "1.5"