diff --git a/Cargo.lock b/Cargo.lock index e79c41f2..b58bbe58 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3946,7 +3946,7 @@ dependencies = [ "tera", "text-colorizer", "text-to-png", - "thiserror 1.0.69", + "thiserror 2.0.6", "tokio", "toml", "torrust-index-located-error", @@ -3964,7 +3964,7 @@ dependencies = [ name = "torrust-index-located-error" version = "3.0.0-develop" dependencies = [ - "thiserror 1.0.69", + "thiserror 2.0.6", "tracing", ] diff --git a/Cargo.toml b/Cargo.toml index 18ce7163..1348a33b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -86,7 +86,7 @@ sqlx = { version = "0", features = ["migrate", "mysql", "runtime-tokio-native-tl tera = { version = "1", default-features = false } text-colorizer = "1" text-to-png = "0" -thiserror = "1" +thiserror = "2" tokio = { version = "1", features = ["fs", "io-util", "macros", "net", "rt-multi-thread", "signal", "sync", "time"] } toml = "0" tower = { version = "0", features = ["timeout"] } diff --git a/packages/located-error/Cargo.toml b/packages/located-error/Cargo.toml index e10610bb..9cb0772f 100644 --- a/packages/located-error/Cargo.toml +++ b/packages/located-error/Cargo.toml @@ -18,4 +18,4 @@ version.workspace = true tracing = "0" [dev-dependencies] -thiserror = "1" +thiserror = "2"