From e7f0abe946bd7d6dcde4fdce89f1602530966c95 Mon Sep 17 00:00:00 2001 From: seriouscatsoserious <121734574+seriouscatsoserious@users.noreply.github.com> Date: Mon, 16 Dec 2024 10:23:04 -0600 Subject: [PATCH] Update MSRV to 1.69.0 and ctrlc to 3.4.5 Since this is a binary project, we should use the latest compatible dependency versions. Updated: - Minimum Supported Rust Version (MSRV) to 1.69.0 - ctrlc to 3.4.5 (latest version) This follows Rust's MSRV policy where MSRV bumps are not considered breaking changes. See: https://github.com/rust-lang/api-guidelines/discussions/231 --- Cargo.lock | 19 +++++++++++++------ Cargo.toml | 2 +- rust-toolchain.toml | 2 +- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b98faf790..9b96d599d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -245,6 +245,12 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +[[package]] +name = "cfg_aliases" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" + [[package]] name = "chunked_transfer" version = "1.5.0" @@ -351,12 +357,12 @@ dependencies = [ [[package]] name = "ctrlc" -version = "3.2.5" +version = "3.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbcf33c2a618cbe41ee43ae6e9f2e48368cd9f9db2896f10167d8d762679f639" +checksum = "90eeab0aa92f3f9b4e87f258c72b139c207d251f9cbc1080a0086b86a8870dd3" dependencies = [ "nix", - "windows-sys 0.45.0", + "windows-sys 0.59.0", ] [[package]] @@ -734,12 +740,13 @@ dependencies = [ [[package]] name = "nix" -version = "0.26.4" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b" +checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.4.1", "cfg-if", + "cfg_aliases", "libc", ] diff --git a/Cargo.toml b/Cargo.toml index cd62c17f5..0f6b79018 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,7 +39,7 @@ serde_json = "1.0" tiny_http = { version = "0.12", optional = true } [target.'cfg(windows)'.dependencies] -ctrlc = "3.2.5" +ctrlc = "3.4.5" [target.'cfg(not(windows))'.dependencies] signal-hook = "0.3" diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 07d72a900..abf6bc820 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.63.0" +channel = "1.69.0" components = [ "rustfmt" ]