Bump thiserror to version 2

This commit is contained in:
Unknown 2025-04-01 08:30:52 +08:00
parent e07949378c
commit 70b1491e3b
No known key found for this signature in database
3 changed files with 13 additions and 13 deletions

22
Cargo.lock generated
View file

@ -2352,7 +2352,7 @@ dependencies = [
"serde_json", "serde_json",
"sha2", "sha2",
"smallvec", "smallvec",
"thiserror 2.0.9", "thiserror 2.0.12",
"tokio", "tokio",
"tokio-stream", "tokio-stream",
"tracing", "tracing",
@ -2436,7 +2436,7 @@ dependencies = [
"smallvec", "smallvec",
"sqlx-core", "sqlx-core",
"stringprep", "stringprep",
"thiserror 2.0.9", "thiserror 2.0.12",
"tracing", "tracing",
"whoami", "whoami",
] ]
@ -2474,7 +2474,7 @@ dependencies = [
"smallvec", "smallvec",
"sqlx-core", "sqlx-core",
"stringprep", "stringprep",
"thiserror 2.0.9", "thiserror 2.0.12",
"tracing", "tracing",
"whoami", "whoami",
] ]
@ -2620,11 +2620,11 @@ dependencies = [
[[package]] [[package]]
name = "thiserror" name = "thiserror"
version = "2.0.9" version = "2.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f072643fd0190df67a8bab670c20ef5d8737177d6ac6b2e9a236cb096206b2cc" checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708"
dependencies = [ dependencies = [
"thiserror-impl 2.0.9", "thiserror-impl 2.0.12",
] ]
[[package]] [[package]]
@ -2640,9 +2640,9 @@ dependencies = [
[[package]] [[package]]
name = "thiserror-impl" name = "thiserror-impl"
version = "2.0.9" version = "2.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7b50fa271071aae2e6ee85f842e2e28ba8cd2c5fb67f11fcb1fd70b276f9e7d4" checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -3456,7 +3456,7 @@ dependencies = [
"either", "either",
"futures-util", "futures-util",
"sqlx", "sqlx",
"thiserror 1.0.57", "thiserror 2.0.12",
] ]
[[package]] [[package]]
@ -3479,7 +3479,7 @@ dependencies = [
"serde", "serde",
"serde_json", "serde_json",
"serenity", "serenity",
"thiserror 2.0.9", "thiserror 2.0.12",
"time", "time",
"youmubot-db", "youmubot-db",
"youmubot-db-sql", "youmubot-db-sql",
@ -3500,7 +3500,7 @@ dependencies = [
"poise", "poise",
"reqwest", "reqwest",
"serenity", "serenity",
"thiserror 1.0.57", "thiserror 2.0.12",
"tokio", "tokio",
"youmubot-db", "youmubot-db",
"youmubot-db-sql", "youmubot-db-sql",

View file

@ -11,7 +11,7 @@ workspace = true
[dependencies] [dependencies]
sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite", "chrono"] } sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite", "chrono"] }
thiserror = "1.0.31" thiserror = "2"
chrono = "0.4.19" chrono = "0.4.19"
futures-util = "0.3.21" futures-util = "0.3.21"
either = "1.6.1" either = "1.6.1"

View file

@ -20,7 +20,7 @@ reqwest = { version = "0.11.10", features = ["json"] }
chrono = "0.4.19" chrono = "0.4.19"
flume = "0.10.13" flume = "0.10.13"
dashmap = "5.3.4" dashmap = "5.3.4"
thiserror = "1" thiserror = "2"
poise = { git = "https://github.com/serenity-rs/poise", branch = "current" } poise = { git = "https://github.com/serenity-rs/poise", branch = "current" }
[dependencies.serenity] [dependencies.serenity]