From 0f139da8574d8315cc5eb2a0cc00f694d1b384ad Mon Sep 17 00:00:00 2001 From: etoledom Date: Mon, 11 Nov 2019 11:37:16 +0100 Subject: Making procfs optional To avoid compile errors on mac --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3