From 9129b4910e35aaac519f4ad8b14682d285ff7034 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 4 Dec 2024 17:47:08 +0000 Subject: [PATCH] chore(deps): bump thiserror from 1.0.69 to 2.0.4 Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.69 to 2.0.4. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.69...2.0.4) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 42 +++++++++++++++++++++++-------- Cargo.toml | 2 +- packages/located-error/Cargo.toml | 2 +- 3 files changed, 33 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 76c56dea..2950729e 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.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f49a1853cf82743e3b7950f77e0f4d622ca36cf4317cba00c767838bac8d490" +dependencies = [ + "thiserror-impl 2.0.4", ] [[package]] @@ -3688,6 +3697,17 @@ dependencies = [ "syn 2.0.90", ] +[[package]] +name = "thiserror-impl" +version = "2.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8381894bb3efe0c4acac3ded651301ceee58a15d47c2e34885ed1908ad667061" +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.4", "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.4", "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"