From b382ded9f14db4ce937663885eae4650fe0fac00 Mon Sep 17 00:00:00 2001 From: hrzlgnm Date: Thu, 7 Nov 2024 22:04:04 +0100 Subject: [PATCH] chore: bump crate thiserror to v2.0.0 (#523) --- Cargo.lock | 90 +++++++++++++++++++++++++++----------------- src-tauri/Cargo.toml | 2 +- 2 files changed, 56 insertions(+), 36 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6cde03a..bb4652e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -457,7 +457,7 @@ dependencies = [ "glib", "libc", "once_cell", - "thiserror", + "thiserror 1.0.68", ] [[package]] @@ -500,7 +500,7 @@ dependencies = [ "semver", "serde", "serde_json", - "thiserror", + "thiserror 1.0.68", ] [[package]] @@ -1633,7 +1633,7 @@ dependencies = [ "once_cell", "pin-project-lite", "smallvec", - "thiserror", + "thiserror 1.0.68", ] [[package]] @@ -1669,7 +1669,7 @@ dependencies = [ "memchr", "once_cell", "smallvec", - "thiserror", + "thiserror 1.0.68", ] [[package]] @@ -1717,7 +1717,7 @@ dependencies = [ "pin-project", "serde", "serde_json", - "thiserror", + "thiserror 1.0.68", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", @@ -2378,7 +2378,7 @@ dependencies = [ "combine", "jni-sys", "log", - "thiserror", + "thiserror 1.0.68", "walkdir", "windows-sys 0.45.0", ] @@ -2413,7 +2413,7 @@ dependencies = [ "jsonptr 0.4.7", "serde", "serde_json", - "thiserror", + "thiserror 1.0.68", ] [[package]] @@ -2425,7 +2425,7 @@ dependencies = [ "jsonptr 0.6.3", "serde", "serde_json", - "thiserror", + "thiserror 1.0.68", ] [[package]] @@ -2508,7 +2508,7 @@ dependencies = [ "config", "regex", "serde", - "thiserror", + "thiserror 1.0.68", "typed-builder", ] @@ -2617,7 +2617,7 @@ dependencies = [ "serde-wasm-bindgen", "serde_json", "slotmap", - "thiserror", + "thiserror 1.0.68", "tracing", "wasm-bindgen", "wasm-bindgen-futures", @@ -2636,7 +2636,7 @@ dependencies = [ "leptos_reactive", "serde", "server_fn", - "thiserror", + "thiserror 1.0.68", "tracing", ] @@ -2791,7 +2791,7 @@ dependencies = [ "tauri-plugin-log", "tauri-plugin-shell", "tauri-plugin-updater", - "thiserror", + "thiserror 2.0.0", "tokio", ] @@ -2910,7 +2910,7 @@ dependencies = [ "once_cell", "png", "serde", - "thiserror", + "thiserror 1.0.68", "windows-sys 0.59.0", ] @@ -2926,7 +2926,7 @@ dependencies = [ "ndk-sys", "num_enum", "raw-window-handle", - "thiserror", + "thiserror 1.0.68", ] [[package]] @@ -3254,7 +3254,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c51ebcefb2f0b9a5e0bea115532c8ae4215d1b01eff176d0f4ba4192895c2708" dependencies = [ "serde", - "thiserror", + "thiserror 1.0.68", ] [[package]] @@ -3788,7 +3788,7 @@ dependencies = [ "rustc-hash 2.0.0", "rustls", "socket2", - "thiserror", + "thiserror 1.0.68", "tokio", "tracing", ] @@ -3805,7 +3805,7 @@ dependencies = [ "rustc-hash 2.0.0", "rustls", "slab", - "thiserror", + "thiserror 1.0.68", "tinyvec", "tracing", ] @@ -3965,7 +3965,7 @@ checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ "getrandom 0.2.15", "libredox", - "thiserror", + "thiserror 1.0.68", ] [[package]] @@ -4105,7 +4105,7 @@ dependencies = [ "quote", "syn 2.0.87", "syn_derive", - "thiserror", + "thiserror 1.0.68", ] [[package]] @@ -4375,7 +4375,7 @@ checksum = "0431a35568651e363364210c91983c1da5eb29404d9f0928b67d4ebcfa7d330c" dependencies = [ "percent-encoding", "serde", - "thiserror", + "thiserror 1.0.68", ] [[package]] @@ -4482,7 +4482,7 @@ dependencies = [ "serde_json", "serde_qs", "server_fn_macro_default", - "thiserror", + "thiserror 1.0.68", "url", "wasm-bindgen", "wasm-bindgen-futures", @@ -4889,7 +4889,7 @@ dependencies = [ "tauri-runtime", "tauri-runtime-wry", "tauri-utils", - "thiserror", + "thiserror 1.0.68", "tokio", "tray-icon", "url", @@ -4942,7 +4942,7 @@ dependencies = [ "sha2", "syn 2.0.87", "tauri-utils", - "thiserror", + "thiserror 1.0.68", "time", "url", "uuid", @@ -4992,7 +4992,7 @@ dependencies = [ "serde_json", "tauri", "tauri-plugin", - "thiserror", + "thiserror 1.0.68", ] [[package]] @@ -5013,7 +5013,7 @@ dependencies = [ "swift-rs", "tauri", "tauri-plugin", - "thiserror", + "thiserror 1.0.68", "time", ] @@ -5034,7 +5034,7 @@ dependencies = [ "shared_child", "tauri", "tauri-plugin", - "thiserror", + "thiserror 1.0.68", "tokio", ] @@ -5060,7 +5060,7 @@ dependencies = [ "tauri", "tauri-plugin", "tempfile", - "thiserror", + "thiserror 1.0.68", "time", "tokio", "url", @@ -5082,7 +5082,7 @@ dependencies = [ "serde", "serde_json", "tauri-utils", - "thiserror", + "thiserror 1.0.68", "url", "windows", ] @@ -5125,7 +5125,7 @@ dependencies = [ "serde", "serde-wasm-bindgen", "serde_repr", - "thiserror", + "thiserror 1.0.68", "wasm-bindgen", "wasm-bindgen-futures", ] @@ -5158,7 +5158,7 @@ dependencies = [ "serde_json", "serde_with", "swift-rs", - "thiserror", + "thiserror 1.0.68", "toml 0.8.2", "url", "urlpattern", @@ -5258,7 +5258,16 @@ version = "1.0.68" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "02dd99dc800bbb97186339685293e1cc5d9df1f8fae2d0aecd9ff1c77efea892" dependencies = [ - "thiserror-impl", + "thiserror-impl 1.0.68", +] + +[[package]] +name = "thiserror" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15291287e9bff1bc6f9ff3409ed9af665bec7a5fc8ac079ea96be07bca0e2668" +dependencies = [ + "thiserror-impl 2.0.0", ] [[package]] @@ -5272,6 +5281,17 @@ dependencies = [ "syn 2.0.87", ] +[[package]] +name = "thiserror-impl" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22efd00f33f93fa62848a7cab956c3d38c8d43095efda1decfc2b3a5dc0b8972" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "tiff" version = "0.9.1" @@ -5483,7 +5503,7 @@ dependencies = [ "once_cell", "png", "serde", - "thiserror", + "thiserror 1.0.68", "windows-sys 0.59.0", ] @@ -5900,7 +5920,7 @@ version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3a3e2eeb58f82361c93f9777014668eb3d07e7d174ee4c819575a9208011886" dependencies = [ - "thiserror", + "thiserror 1.0.68", "windows", "windows-core 0.58.0", ] @@ -6313,7 +6333,7 @@ dependencies = [ "sha2", "soup3", "tao-macros", - "thiserror", + "thiserror 1.0.68", "webkit2gtk", "webkit2gtk-sys", "webview2-com", @@ -6432,5 +6452,5 @@ dependencies = [ "displaydoc", "indexmap 2.6.0", "memchr", - "thiserror", + "thiserror 1.0.68", ] diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 7b0db4d..68123a0 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -12,7 +12,7 @@ tauri-build = { version = "2.0.0", features = [] } clap = { version = "4.5.19", features = ["derive"] } tauri-plugin-log = "2.0.0" tauri-plugin-updater = "2.0.1" -thiserror = "1.0.64" +thiserror = "2.0.0" tokio = "1.40.0" [dependencies]