From 3ccce83b37785fe57a0d804300706a3bad1fa7c3 Mon Sep 17 00:00:00 2001 From: Ryan Zoeller Date: Fri, 2 Dec 2022 20:46:06 -0600 Subject: [PATCH 1/2] Upgrade nix dependency to 0.25.1, limit features --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 62c4841..56931b1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,9 @@ features = ["io-util", "macros", "process", "rt"] optional = true [target.'cfg(unix)'.dependencies.nix] -version = "0.22.0" +version = "0.25.1" +default-features = false +features = ["fs", "poll", "signal"] [target.'cfg(windows)'.dependencies.winapi] version = "0.3.9" From acabd1009e04ac9c43dbe01ace3cd9b4099238d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Saparelli?= Date: Sun, 4 Dec 2022 03:20:53 +1300 Subject: [PATCH 2/2] Use nix 0.26 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 56931b1..55de775 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ features = ["io-util", "macros", "process", "rt"] optional = true [target.'cfg(unix)'.dependencies.nix] -version = "0.25.1" +version = "0.26.1" default-features = false features = ["fs", "poll", "signal"]