From 28042fd5385967a573320cd5649c51add7fa097b Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 7 Mar 2025 12:10:32 +0100 Subject: [PATCH 1/4] itertools: update to 0.14 --- git-checks-core/Cargo.toml | 2 +- git-checks/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/git-checks-core/Cargo.toml b/git-checks-core/Cargo.toml index f0fe0b75..aa845741 100644 --- a/git-checks-core/Cargo.toml +++ b/git-checks-core/Cargo.toml @@ -17,7 +17,7 @@ rust-version = "1.64" tempfile = "^3.4.0" [dependencies] -itertools = "~0.12" +itertools = "~0.14" lazy_static = "^1.1" log = "~0.4.4" rayon = "^1.5" diff --git a/git-checks/Cargo.toml b/git-checks/Cargo.toml index 7c80d9fe..7bd5c6fc 100644 --- a/git-checks/Cargo.toml +++ b/git-checks/Cargo.toml @@ -19,7 +19,7 @@ tempfile = "^3.2.0" [dependencies] derive_builder = "~0.20" -itertools = "~0.12" +itertools = "~0.14" lazy_static = "^1.1" log = "~0.4.4" rayon = "^1.5" -- GitLab From 150247b30c68024d36d58fb37ba781f4d8acacce Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 7 Mar 2025 12:11:17 +0100 Subject: [PATCH 2/4] thiserror: update to 2.0 --- git-checks-core/Cargo.toml | 2 +- git-checks/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/git-checks-core/Cargo.toml b/git-checks-core/Cargo.toml index aa845741..e451b476 100644 --- a/git-checks-core/Cargo.toml +++ b/git-checks-core/Cargo.toml @@ -22,7 +22,7 @@ lazy_static = "^1.1" log = "~0.4.4" rayon = "^1.5" regex = { version = "^1.3.3", default-features = false, features = ["std"] } -thiserror = "^1.0.2" +thiserror = "^2" git-workarea = "^4.2.2" diff --git a/git-checks/Cargo.toml b/git-checks/Cargo.toml index 7bd5c6fc..c7bb0419 100644 --- a/git-checks/Cargo.toml +++ b/git-checks/Cargo.toml @@ -23,7 +23,7 @@ itertools = "~0.14" lazy_static = "^1.1" log = "~0.4.4" rayon = "^1.5" -thiserror = "^1.0.2" +thiserror = "^2" hickory-proto = "0.25.0-alpha.5" hickory-resolver = { version = "0.25.0-alpha.5", default-features = false, features = ["system-config", "tokio-runtime"] } ttl_cache = "~0.5" -- GitLab From c23d6c8a04bdcf2c815956478eb06d8f3b37ee61 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 7 Mar 2025 12:13:42 +0100 Subject: [PATCH 3/4] tokio: fix dependency specification --- git-checks/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-checks/Cargo.toml b/git-checks/Cargo.toml index c7bb0419..9450e2e0 100644 --- a/git-checks/Cargo.toml +++ b/git-checks/Cargo.toml @@ -45,7 +45,7 @@ linked-hash-map = "^0.5.3" # https://rustsec.org/advisories/RUSTSEC-2024-0019 mio = "^0.8.11" # Pin to a lower version. -tokio = { version = "~1.30.0", features = ["rt"] } +tokio = { version = "^1.30.0", features = ["rt"] } # Avoid an old dependency on `idna`. url = "^2.5.4" # Avoid transitive dependencies on `failure` and `atty` -- GitLab From 55c9970f95f0e2af6fff8fa87ec6ae5f20ad570d Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 7 Mar 2025 12:13:56 +0100 Subject: [PATCH 4/4] tokio: bump minimum to 1.39 This remove the need to bump `mio` as well. --- git-checks/Cargo.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/git-checks/Cargo.toml b/git-checks/Cargo.toml index 9450e2e0..7e491f6f 100644 --- a/git-checks/Cargo.toml +++ b/git-checks/Cargo.toml @@ -42,10 +42,8 @@ serde = { version = "^1.0", features = ["derive"], optional = true } # https://rustsec.org/advisories/RUSTSEC-2020-0026 # https://github.com/stusmall/ttl_cache/pull/24 linked-hash-map = "^0.5.3" -# https://rustsec.org/advisories/RUSTSEC-2024-0019 -mio = "^0.8.11" # Pin to a lower version. -tokio = { version = "^1.30.0", features = ["rt"] } +tokio = { version = "^1.39.0", features = ["rt"] } # Avoid an old dependency on `idna`. url = "^2.5.4" # Avoid transitive dependencies on `failure` and `atty` -- GitLab