From 70b1491e3bcb1670df5fe0d33fe34e24a8ebf9c8 Mon Sep 17 00:00:00 2001 From: Unknown15082 Date: Tue, 1 Apr 2025 08:30:52 +0800 Subject: [PATCH] Bump thiserror to version 2 --- Cargo.lock | 22 +++++++++++----------- youmubot-db-sql/Cargo.toml | 2 +- youmubot-prelude/Cargo.toml | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5435348..33a39c0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2352,7 +2352,7 @@ dependencies = [ "serde_json", "sha2", "smallvec", - "thiserror 2.0.9", + "thiserror 2.0.12", "tokio", "tokio-stream", "tracing", @@ -2436,7 +2436,7 @@ dependencies = [ "smallvec", "sqlx-core", "stringprep", - "thiserror 2.0.9", + "thiserror 2.0.12", "tracing", "whoami", ] @@ -2474,7 +2474,7 @@ dependencies = [ "smallvec", "sqlx-core", "stringprep", - "thiserror 2.0.9", + "thiserror 2.0.12", "tracing", "whoami", ] @@ -2620,11 +2620,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.9" +version = "2.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f072643fd0190df67a8bab670c20ef5d8737177d6ac6b2e9a236cb096206b2cc" +checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" dependencies = [ - "thiserror-impl 2.0.9", + "thiserror-impl 2.0.12", ] [[package]] @@ -2640,9 +2640,9 @@ dependencies = [ [[package]] name = "thiserror-impl" -version = "2.0.9" +version = "2.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b50fa271071aae2e6ee85f842e2e28ba8cd2c5fb67f11fcb1fd70b276f9e7d4" +checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" dependencies = [ "proc-macro2", "quote", @@ -3456,7 +3456,7 @@ dependencies = [ "either", "futures-util", "sqlx", - "thiserror 1.0.57", + "thiserror 2.0.12", ] [[package]] @@ -3479,7 +3479,7 @@ dependencies = [ "serde", "serde_json", "serenity", - "thiserror 2.0.9", + "thiserror 2.0.12", "time", "youmubot-db", "youmubot-db-sql", @@ -3500,7 +3500,7 @@ dependencies = [ "poise", "reqwest", "serenity", - "thiserror 1.0.57", + "thiserror 2.0.12", "tokio", "youmubot-db", "youmubot-db-sql", diff --git a/youmubot-db-sql/Cargo.toml b/youmubot-db-sql/Cargo.toml index 4c5b9b8..9df32e1 100644 --- a/youmubot-db-sql/Cargo.toml +++ b/youmubot-db-sql/Cargo.toml @@ -11,7 +11,7 @@ workspace = true [dependencies] sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite", "chrono"] } -thiserror = "1.0.31" +thiserror = "2" chrono = "0.4.19" futures-util = "0.3.21" either = "1.6.1" diff --git a/youmubot-prelude/Cargo.toml b/youmubot-prelude/Cargo.toml index e7054a5..122630e 100644 --- a/youmubot-prelude/Cargo.toml +++ b/youmubot-prelude/Cargo.toml @@ -20,7 +20,7 @@ reqwest = { version = "0.11.10", features = ["json"] } chrono = "0.4.19" flume = "0.10.13" dashmap = "5.3.4" -thiserror = "1" +thiserror = "2" poise = { git = "https://github.com/serenity-rs/poise", branch = "current" } [dependencies.serenity]