From 1fe3dab64c6f4f299dc35b01a7f5cf02a611d046 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 18:33:58 +0100 Subject: [PATCH] fix(deps): update rust crate thiserror to v2 (v2) (#2012) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: FabianLars --- Cargo.lock | 56 +++++++++++++++++++++--------------------- Cargo.toml | 2 +- plugins/log/Cargo.toml | 2 +- 3 files changed, 30 insertions(+), 30 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a54a530ec..c888bb6ed 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6322,7 +6322,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin", - "thiserror 1.0.64", + "thiserror 2.0.3", ] [[package]] @@ -6334,7 +6334,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin", - "thiserror 1.0.64", + "thiserror 2.0.3", ] [[package]] @@ -6347,7 +6347,7 @@ dependencies = [ "serde_repr", "tauri", "tauri-plugin", - "thiserror 1.0.64", + "thiserror 2.0.3", ] [[package]] @@ -6360,7 +6360,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin", - "thiserror 1.0.64", + "thiserror 2.0.3", ] [[package]] @@ -6373,7 +6373,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin", - "thiserror 1.0.64", + "thiserror 2.0.3", ] [[package]] @@ -6388,7 +6388,7 @@ dependencies = [ "tauri", "tauri-plugin", "tauri-utils", - "thiserror 1.0.64", + "thiserror 2.0.3", "url", "windows-registry 0.3.0", "windows-result 0.2.0", @@ -6406,7 +6406,7 @@ dependencies = [ "tauri", "tauri-plugin", "tauri-plugin-fs", - "thiserror 1.0.64", + "thiserror 2.0.3", "url", ] @@ -6426,7 +6426,7 @@ dependencies = [ "serde_repr", "tauri", "tauri-plugin", - "thiserror 1.0.64", + "thiserror 2.0.3", "url", "uuid", ] @@ -6441,7 +6441,7 @@ dependencies = [ "specta", "tauri", "tauri-plugin", - "thiserror 1.0.64", + "thiserror 2.0.3", ] [[package]] @@ -6454,7 +6454,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin", - "thiserror 1.0.64", + "thiserror 2.0.3", ] [[package]] @@ -6467,7 +6467,7 @@ dependencies = [ "specta", "tauri", "tauri-plugin", - "thiserror 1.0.64", + "thiserror 2.0.3", ] [[package]] @@ -6484,7 +6484,7 @@ dependencies = [ "tauri", "tauri-plugin", "tauri-plugin-fs", - "thiserror 1.0.64", + "thiserror 2.0.3", "tokio", "url", "urlpattern", @@ -6499,7 +6499,7 @@ dependencies = [ "serde", "serde_json", "tauri", - "thiserror 1.0.64", + "thiserror 2.0.3", "tiny_http", ] @@ -6519,7 +6519,7 @@ dependencies = [ "swift-rs", "tauri", "tauri-plugin", - "thiserror 1.0.64", + "thiserror 2.0.3", "time", ] @@ -6533,7 +6533,7 @@ dependencies = [ "serde_repr", "tauri", "tauri-plugin", - "thiserror 1.0.64", + "thiserror 2.0.3", ] [[package]] @@ -6551,7 +6551,7 @@ dependencies = [ "serde_repr", "tauri", "tauri-plugin", - "thiserror 1.0.64", + "thiserror 2.0.3", "time", "url", "win7-notifications", @@ -6571,7 +6571,7 @@ dependencies = [ "sys-locale", "tauri", "tauri-plugin", - "thiserror 1.0.64", + "thiserror 2.0.3", ] [[package]] @@ -6585,7 +6585,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin-fs", - "thiserror 1.0.64", + "thiserror 2.0.3", ] [[package]] @@ -6598,7 +6598,7 @@ dependencies = [ "serde_repr", "tauri", "tauri-plugin", - "thiserror 1.0.64", + "thiserror 2.0.3", ] [[package]] @@ -6624,7 +6624,7 @@ dependencies = [ "shared_child", "tauri", "tauri-plugin", - "thiserror 1.0.64", + "thiserror 2.0.3", "tokio", ] @@ -6638,7 +6638,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin-deep-link", - "thiserror 1.0.64", + "thiserror 2.0.3", "windows-sys 0.59.0", "zbus", ] @@ -6655,7 +6655,7 @@ dependencies = [ "sqlx", "tauri", "tauri-plugin", - "thiserror 1.0.64", + "thiserror 2.0.3", "time", "tokio", ] @@ -6670,7 +6670,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin", - "thiserror 1.0.64", + "thiserror 2.0.3", "tokio", ] @@ -6691,7 +6691,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin", - "thiserror 1.0.64", + "thiserror 2.0.3", "zeroize", ] @@ -6715,7 +6715,7 @@ dependencies = [ "tauri", "tauri-plugin", "tempfile", - "thiserror 1.0.64", + "thiserror 2.0.3", "time", "tokio", "url", @@ -6736,7 +6736,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin", - "thiserror 1.0.64", + "thiserror 2.0.3", "tokio", "tokio-util", ] @@ -6753,7 +6753,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin", - "thiserror 1.0.64", + "thiserror 2.0.3", "tokio", "tokio-tungstenite", ] @@ -6768,7 +6768,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin", - "thiserror 1.0.64", + "thiserror 2.0.3", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 7874973e1..4143e048d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ tauri-build = "2" tauri-plugin = "2" tauri-utils = "2" serde_json = "1" -thiserror = "1" +thiserror = "2" url = "2" schemars = "0.8" dunce = "1" diff --git a/plugins/log/Cargo.toml b/plugins/log/Cargo.toml index ad7f6bb33..7b94e9a4b 100644 --- a/plugins/log/Cargo.toml +++ b/plugins/log/Cargo.toml @@ -27,12 +27,12 @@ tauri-plugin = { workspace = true, features = ["build"] } serde = { workspace = true } serde_json = { workspace = true } tauri = { workspace = true } +thiserror = { workspace = true } serde_repr = "0.1" byte-unit = "5" log = { workspace = true, features = ["kv_unstable"] } time = { version = "0.3", features = ["formatting", "local-offset"] } fern = "0.7" -thiserror = "1" [target."cfg(target_os = \"android\")".dependencies] android_logger = "0.14"