From 711d9d0156cdca3645edaf862d52526c71cf6c18 Mon Sep 17 00:00:00 2001 From: Ryan Zoeller Date: Wed, 20 Apr 2022 23:31:15 -0500 Subject: [PATCH] chore: upgrade nix to 0.24, limit features (#4631) This reduces tokio's test compile time by a few seconds. --- tokio/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 90a32d981..69ec3197e 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -113,7 +113,7 @@ signal-hook-registry = { version = "1.1.1", optional = true } [target.'cfg(unix)'.dev-dependencies] libc = { version = "0.2.42" } -nix = { version = "0.23" } +nix = { version = "0.24", default-features = false, features = ["fs", "socket"] } [target.'cfg(windows)'.dependencies.winapi] version = "0.3.8"