From 11912751fdb96140f5fc8f2d5dad3956ea751680 Mon Sep 17 00:00:00 2001 From: Nick Gerace Date: Tue, 10 Dec 2024 17:10:51 -0500 Subject: [PATCH] Update thiserror to 2.0 and git2 to 0.19 This commit updates thiserror to 2.0 and git2 to 0.19. It also adds "cargo-outdated" to the flake. Signed-off-by: Nick Gerace --- Cargo.lock | 16 ++++++++-------- Cargo.toml | 10 ++++------ flake.nix | 1 + 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b1b85b7..4b3a6ed 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -288,9 +288,9 @@ checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" [[package]] name = "git2" -version = "0.18.3" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "232e6a7bfe35766bf715e55a88b39a700596c0ccfd88cd3680b4cdb40d66ef70" +checksum = "b903b73e45dc0c6c596f2d37eccece7c1c8bb6e4407b001096387c63d0d93724" dependencies = [ "bitflags", "libc", @@ -504,9 +504,9 @@ checksum = "5aaeb2981e0606ca11d79718f8bb01164f1d6ed75080182d3abf017e6d244b6d" [[package]] name = "libgit2-sys" -version = "0.16.2+1.7.2" +version = "0.17.0+1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee4126d8b4ee5c9d9ea891dd875cfdc1e9d0950437179104b183d7d8a74d24e8" +checksum = "10472326a8a6477c3c20a64547b0059e4b0d086869eee31e6d7da728a8eb7224" dependencies = [ "cc", "libc", @@ -809,18 +809,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.69" +version = "2.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" +checksum = "8fec2a1820ebd077e2b90c4df007bebf344cd394098a13c563957d0afc83ea47" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.69" +version = "2.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +checksum = "d65750cab40f4ff1929fb1ba509e9914eb756131cef4210da8d5d700d26f6312" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index cac8d09..ac77f72 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,10 +22,8 @@ strip = true [dependencies] anyhow = { version = "1.0", features = ["backtrace"] } clap = { version = "4.5", features = ["derive"] } -env_logger = { version = "0.11", features = [ - "humantime", -], default-features = false } -git2 = { version = "0.18", default-features = false } +env_logger = { version = "0.11", features = [ "humantime" ], default-features = false } +git2 = { version = "0.19", default-features = false } log = "0.4" pretty_assertions = "1.4" rayon = "1.10" @@ -35,6 +33,6 @@ serde_json = "1.0" strum = { version = "0.26", features = ["derive"] } tempfile = "3.10" termcolor = "1.4" -thiserror = "1.0" +thiserror = "2.0" toml = "0.8" -user_dirs = "0.2.0" +user_dirs = "0.2" diff --git a/flake.nix b/flake.nix index 0466d3b..832e437 100644 --- a/flake.nix +++ b/flake.nix @@ -38,6 +38,7 @@ bash cargo-audit cargo-bloat + cargo-outdated cargo-udeps coreutils hyperfine