diff --git a/Cargo.lock b/Cargo.lock index a7ad74a8..647360b6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -449,7 +449,7 @@ dependencies = [ "binascii", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", "zerocopy", ] @@ -552,7 +552,7 @@ dependencies = [ "rhai", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", "tokio", ] @@ -2377,7 +2377,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "879952a81a83930934cbf1786752d6dedc3b1f29e8f8fb2ad1d0a36f377cf442" dependencies = [ "memchr", - "thiserror", + "thiserror 1.0.69", "ucd-trie", ] @@ -3178,7 +3178,7 @@ checksum = "adc4e5204eb1910f40f9cfa375f6f05b68c3abac4b6fd879c8ff5e7ae8a0a085" dependencies = [ "num-bigint", "num-traits", - "thiserror", + "thiserror 1.0.69", "time", ] @@ -3318,7 +3318,7 @@ dependencies = [ "sha2", "smallvec", "sqlformat", - "thiserror", + "thiserror 1.0.69", "time", "tokio", "tokio-stream", @@ -3402,7 +3402,7 @@ dependencies = [ "smallvec", "sqlx-core", "stringprep", - "thiserror", + "thiserror 1.0.69", "time", "tracing", "whoami", @@ -3441,7 +3441,7 @@ dependencies = [ "smallvec", "sqlx-core", "stringprep", - "thiserror", + "thiserror 1.0.69", "time", "tracing", "whoami", @@ -3653,7 +3653,7 @@ dependencies = [ "png", "resvg", "siphasher", - "thiserror", + "thiserror 1.0.69", "tiny-skia", "usvg", "xml-rs", @@ -3674,7 +3674,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]] @@ -3688,6 +3697,17 @@ dependencies = [ "syn 2.0.90", ] +[[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.90", +] + [[package]] name = "thread_local" version = "1.1.8" @@ -3933,7 +3953,7 @@ dependencies = [ "tera", "text-colorizer", "text-to-png", - "thiserror", + "thiserror 2.0.3", "tokio", "toml", "torrust-index-located-error", @@ -3951,7 +3971,7 @@ dependencies = [ name = "torrust-index-located-error" version = "3.0.0-develop" dependencies = [ - "thiserror", + "thiserror 2.0.3", "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"