From 6772a3def0e2c9c2e605a168295a13e52b88226a Mon Sep 17 00:00:00 2001 From: Nils Andreas Svee Date: Tue, 28 Apr 2026 16:32:48 +0700 Subject: [PATCH] build(deps): upgrade thiserror to version 2 --- Cargo.lock | 26 +++++++++++++++++++++++--- crates/irtt-client/Cargo.toml | 2 +- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8c7160b..ecef5a0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -67,7 +67,7 @@ version = "0.1.0" dependencies = [ "irtt-proto", "socket2", - "thiserror", + "thiserror 2.0.18", ] [[package]] @@ -77,7 +77,7 @@ dependencies = [ "hmac", "md-5", "subtle", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -151,7 +151,16 @@ version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.69", +] + +[[package]] +name = "thiserror" +version = "2.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" +dependencies = [ + "thiserror-impl 2.0.18", ] [[package]] @@ -165,6 +174,17 @@ dependencies = [ "syn", ] +[[package]] +name = "thiserror-impl" +version = "2.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "typenum" version = "1.20.0" diff --git a/crates/irtt-client/Cargo.toml b/crates/irtt-client/Cargo.toml index 87b8e78..d629a28 100644 --- a/crates/irtt-client/Cargo.toml +++ b/crates/irtt-client/Cargo.toml @@ -8,7 +8,7 @@ rust-version.workspace = true [dependencies] irtt-proto = { path = "../irtt-proto" } socket2 = "0.5" -thiserror = "1" +thiserror = "2" [features] default = []