From 2e246d4d53be06007e2da324a505529cbd27017a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 15 Apr 2026 09:45:30 +0000 Subject: [PATCH] [deps]: Update Rust crate thiserror to v2 --- Cargo.lock | 36 ++++++++++++++++++++++++++++-------- Cargo.toml | 2 +- crates/ap-uniffi/Cargo.toml | 2 +- 3 files changed, 30 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4787450..0484824 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -140,7 +140,7 @@ dependencies = [ "rand", "serde", "serde_json", - "thiserror", + "thiserror 2.0.18", "tokio", "tracing", "wasm-bindgen-futures", @@ -180,7 +180,7 @@ dependencies = [ "rand", "serde", "sha2", - "thiserror", + "thiserror 2.0.18", "tokio", "tracing", "zeroize", @@ -225,7 +225,7 @@ dependencies = [ "serde", "serde_json", "sha2", - "thiserror", + "thiserror 2.0.18", ] [[package]] @@ -238,7 +238,7 @@ dependencies = [ "ap-proxy-client", "ap-proxy-protocol", "async-trait", - "thiserror", + "thiserror 2.0.18", "tokio", "tracing", "tracing-subscriber", @@ -442,7 +442,7 @@ dependencies = [ "semver", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -1817,7 +1817,7 @@ checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ "getrandom 0.2.17", "libredox", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2262,7 +2262,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]] @@ -2276,6 +2285,17 @@ dependencies = [ "syn 2.0.117", ] +[[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 2.0.117", +] + [[package]] name = "thiserror-impl-no-std" version = "2.0.2" @@ -2451,7 +2471,7 @@ dependencies = [ "native-tls", "rand", "sha1", - "thiserror", + "thiserror 1.0.69", "utf-8", ] diff --git a/Cargo.toml b/Cargo.toml index 2014d41..452f170 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -70,7 +70,7 @@ serde_json = "1.0" sha2 = "0.10" snow = { version = "0.9", features = ["xchachapoly"] } syn = "2.0" -thiserror = "1.0" +thiserror = "2.0" tokio = { version = "1.36.0", features = [ "macros", "rt-multi-thread", diff --git a/crates/ap-uniffi/Cargo.toml b/crates/ap-uniffi/Cargo.toml index 31c275f..8419c6a 100644 --- a/crates/ap-uniffi/Cargo.toml +++ b/crates/ap-uniffi/Cargo.toml @@ -20,7 +20,7 @@ ap-proxy-client = { path = "../ap-proxy-client", default-features = false, featu ap-proxy-protocol = { path = "../ap-proxy-protocol" } ap-noise = { path = "../ap-noise" } async-trait = "0.1" -thiserror = "1.0" +thiserror = "2.0" tokio = { version = "1.36.0", features = ["rt-multi-thread", "sync", "macros"] } tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["fmt", "env-filter"] }