From 9d6a25152840d1d697009bd5e49f514406c95ef2 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Sat, 9 Mar 2024 14:32:48 -0800 Subject: [PATCH] Pin ctrlc to version 3.1.1 (#1945) --- Cargo.lock | 36 +++++++++++++++++++++++++----------- Cargo.toml | 2 +- 2 files changed, 26 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9f9c1d4..a10d72e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -112,7 +112,7 @@ dependencies = [ "arrayref", "arrayvec", "cc", - "cfg-if", + "cfg-if 1.0.0", "constant_time_eq", "memmap2", "rayon", @@ -150,6 +150,12 @@ version = "1.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5" +[[package]] +name = "cfg-if" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" + [[package]] name = "cfg-if" version = "1.0.0" @@ -239,12 +245,12 @@ dependencies = [ [[package]] name = "ctrlc" -version = "3.4.2" +version = "3.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b467862cc8610ca6fc9a1532d7777cee0804e678ab45410897b9396495994a0b" +checksum = "630391922b1b893692c6334369ff528dcc3a9d8061ccf4c803aa8f83cb13db5e" dependencies = [ "nix", - "windows-sys 0.52.0", + "winapi", ] [[package]] @@ -391,7 +397,7 @@ version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" dependencies = [ - "cfg-if", + "cfg-if 1.0.0", "libc", "wasi", ] @@ -552,13 +558,15 @@ dependencies = [ [[package]] name = "nix" -version = "0.27.1" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" +checksum = "becb657d662f1cd2ef38c7ad480ec6b8cf9e96b27adb543e594f9cf0f2e6065c" dependencies = [ - "bitflags 2.4.2", - "cfg-if", + "bitflags 1.3.2", + "cc", + "cfg-if 0.1.10", "libc", + "void", ] [[package]] @@ -808,7 +816,7 @@ version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" dependencies = [ - "cfg-if", + "cfg-if 1.0.0", "cpufeatures", "digest", ] @@ -930,7 +938,7 @@ version = "3.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" dependencies = [ - "cfg-if", + "cfg-if 1.0.0", "fastrand", "rustix", "windows-sys 0.52.0", @@ -1058,6 +1066,12 @@ version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +[[package]] +name = "void" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" + [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" diff --git a/Cargo.toml b/Cargo.toml index ad7c8ac..61aedcd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ atty = "0.2.0" blake3 = { version = "1.5.0", features = ["rayon", "mmap"] } camino = "1.0.4" clap = { version = "2.33.0", features = ["wrap_help"] } -ctrlc = { version = "3.1.1", features = ["termination"] } +ctrlc = { version = "=3.1.1", features = ["termination"] } derivative = "2.0.0" dirs = "5.0.1" dotenvy = "0.15"