diff --git a/Cargo.lock b/Cargo.lock index 1d8184a..76760b3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -81,7 +81,7 @@ dependencies = [ "regex", "serde", "serenity", - "thiserror", + "thiserror 2.0.0", "tokio", "toml", "tracing", @@ -882,7 +882,7 @@ dependencies = [ "rustc_version", "smallvec", "tagptr", - "thiserror", + "thiserror 1.0.68", "triomphe", "uuid", ] @@ -1508,7 +1508,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]] @@ -1522,6 +1531,17 @@ dependencies = [ "syn", ] +[[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", +] + [[package]] name = "thread_local" version = "1.1.8" @@ -1793,7 +1813,7 @@ dependencies = [ "rustls 0.22.4", "rustls-pki-types", "sha1", - "thiserror", + "thiserror 1.0.68", "url", "utf-8", ] diff --git a/Cargo.toml b/Cargo.toml index 8b7901d..764c6ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ envy = { version = "0.4.2" } once_cell = { version = "1.19.0" } regex = { version = "1.10.4" } tracing = { version = "0.1.40" } -thiserror = { version = "1.0.64" } +thiserror = { version = "2.0.0" } url = { version = "2.5.2" } toml = { version = "0.8.19" }