From 22e5b0b4fd352f3ed1b4e3f5cf6bda0fe2e67dfc Mon Sep 17 00:00:00 2001 From: Ryan Zoeller Date: Thu, 26 May 2022 23:39:23 -0500 Subject: [PATCH] Limit nix features This makes clean builds slightly faster. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 59c4bd34..a22403ad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ goblin = "0.5" memmap2 = "0.5" [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies] -nix = "0.24" +nix = { version = "0.24", default-features = false, features = ["mman", "process", "ptrace", "user"] } [target.'cfg(target_os = "windows")'.dependencies.windows-sys] version = "0.36"