From c234ef70a1edeeceb1e88510fa9353cfe397001b Mon Sep 17 00:00:00 2001 From: Jeron Aldaron Lau Date: Tue, 12 Nov 2024 21:13:41 -0600 Subject: [PATCH] Update thiserror to 2.0 --- Cargo.lock | 32 ++++++++++++++++++++++++++------ Cargo.toml | 2 +- deny.toml | 2 ++ 3 files changed, 29 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f9c0599..309560a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -69,7 +69,7 @@ dependencies = [ "resvg", "serde", "sys-info", - "thiserror", + "thiserror 2.0.3", "tiny-skia 0.11.4", "toml 0.8.19", "trash", @@ -374,7 +374,7 @@ dependencies = [ "log", "nix 0.25.1", "slotmap", - "thiserror", + "thiserror 1.0.69", "vec_map", ] @@ -1482,7 +1482,7 @@ dependencies = [ "ndk-sys", "num_enum 0.5.11", "raw-window-handle 0.5.2", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2058,7 +2058,7 @@ dependencies = [ "rand_chacha", "simd_helpers", "system-deps", - "thiserror", + "thiserror 1.0.69", "v_frame", "wasm-bindgen", ] @@ -2139,7 +2139,7 @@ checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ "getrandom", "libredox", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2504,7 +2504,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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c006c85c7651b3cf2ada4584faa36773bd07bac24acfb39f3c431b36d7e667aa" +dependencies = [ + "thiserror-impl 2.0.3", ] [[package]] @@ -2518,6 +2527,17 @@ dependencies = [ "syn 2.0.87", ] +[[package]] +name = "thiserror-impl" +version = "2.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f077553d607adc1caf65430528a576c757a71ed73944b66ebb58ef2bbd243568" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", +] + [[package]] name = "tiff" version = "0.9.1" diff --git a/Cargo.toml b/Cargo.toml index 01dcc12..5ede324 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -63,7 +63,7 @@ rand = "0.8" resvg = "0.43" serde = { version = "1.0.210", features = ["derive"] } sys-info = "0.9" -thiserror = "1.0" +thiserror = "2.0" tiny-skia = "0.11" toml = "0.8" trash = { version = "5.1", default-features = false } diff --git a/deny.toml b/deny.toml index f9ca1ae..2f26f0e 100644 --- a/deny.toml +++ b/deny.toml @@ -87,6 +87,8 @@ skip = [ { name = "tiny-skia", version = "0.8" }, { name = "tiny-skia-path", version = "0.7" }, { name = "tiny-skia-path", version = "0.8" }, + { name = "thiserror", version = "1.0" }, + { name = "thiserror-impl", version = "1.0" }, { name = "windows-targets", version = "0.42" }, { name = "windows-targets", version = "0.48" }, { name = "windows-sys", version = "0.36" },