From e1d71496555c7fa018ab8b90230b73e59519e567 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 4 Dec 2024 23:54:43 +0000 Subject: [PATCH] chore: Bump thiserror from 1.0.61 to 2.0.4 Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.61 to 2.0.4. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...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 | 66 ++++++++++++++++++++++++++++++---------------- backend/Cargo.toml | 2 +- core/Cargo.toml | 2 +- 3 files changed, 45 insertions(+), 25 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ad6648306..365c08afd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -198,7 +198,7 @@ dependencies = [ "nom", "num-traits", "rusticata-macros", - "thiserror", + "thiserror 1.0.69", "time", ] @@ -371,7 +371,7 @@ dependencies = [ "log", "nom", "pin-project", - "thiserror", + "thiserror 1.0.69", "tokio", ] @@ -575,7 +575,7 @@ dependencies = [ "sentry", "serde", "serde_json", - "thiserror", + "thiserror 2.0.4", "tokio", "tracing", ] @@ -1258,7 +1258,7 @@ dependencies = [ "anyhow", "async-trait", "log", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-stream", ] @@ -1635,7 +1635,7 @@ dependencies = [ "ipnet", "once_cell", "rand", - "thiserror", + "thiserror 1.0.69", "tinyvec", "tokio", "tracing", @@ -1658,7 +1658,7 @@ dependencies = [ "rand", "resolv-conf", "smallvec", - "thiserror", + "thiserror 1.0.69", "tokio", "tracing", ] @@ -2580,7 +2580,7 @@ dependencies = [ "rc2", "sha1 0.10.6", "sha2", - "thiserror", + "thiserror 1.0.69", "x509-parser", ] @@ -2657,7 +2657,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fdbef9d1d47087a895abd220ed25eb4ad973a5e26f6a4367b038c25e28dfc2d9" dependencies = [ "memchr", - "thiserror", + "thiserror 1.0.69", "ucd-trie", ] @@ -2895,7 +2895,7 @@ dependencies = [ "serde_derive", "serde_json", "sha1 0.6.1", - "thiserror", + "thiserror 1.0.69", ] [[package]] @@ -2971,7 +2971,7 @@ dependencies = [ "serde_json", "sqlx", "sqlxmq", - "thiserror", + "thiserror 2.0.4", "tokio", "tokio-executor-trait", "tokio-reactor-trait", @@ -3469,7 +3469,7 @@ dependencies = [ "debugid", "serde", "serde_json", - "thiserror", + "thiserror 1.0.69", "url", "uuid 0.8.2", ] @@ -3709,7 +3709,7 @@ dependencies = [ "sha2", "smallvec", "sqlformat", - "thiserror", + "thiserror 1.0.69", "tokio", "tokio-stream", "tracing", @@ -3794,7 +3794,7 @@ dependencies = [ "smallvec", "sqlx-core", "stringprep", - "thiserror", + "thiserror 1.0.69", "tracing", "uuid 1.10.0", "whoami", @@ -3834,7 +3834,7 @@ dependencies = [ "smallvec", "sqlx-core", "stringprep", - "thiserror", + "thiserror 1.0.69", "tracing", "uuid 1.10.0", "whoami", @@ -4042,18 +4042,38 @@ checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9" [[package]] name = "thiserror" -version = "1.0.61" +version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709" +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]] name = "thiserror-impl" -version = "1.0.61" +version = "1.0.69" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.87", +] + +[[package]] +name = "thiserror-impl" +version = "2.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" +checksum = "8381894bb3efe0c4acac3ded651301ceee58a15d47c2e34885ed1908ad667061" dependencies = [ "proc-macro2", "quote", @@ -4218,7 +4238,7 @@ checksum = "51165dfa029d2a65969413a6cc96f354b86b464498702f174a4efa13608fd8c0" dependencies = [ "either", "futures-util", - "thiserror", + "thiserror 1.0.69", "tokio", ] @@ -4397,7 +4417,7 @@ dependencies = [ "log", "rand", "sha1 0.10.6", - "thiserror", + "thiserror 1.0.69", "url", "utf-8", ] @@ -4702,7 +4722,7 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "thiserror", + "thiserror 1.0.69", "time", "unicode-segmentation", "url", @@ -4968,7 +4988,7 @@ dependencies = [ "nom", "oid-registry", "rusticata-macros", - "thiserror", + "thiserror 1.0.69", "time", ] diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 7ce3794a0..fc75034d7 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -30,7 +30,7 @@ sqlx = { version = "0.7", features = [ "migrate", ] } sqlxmq = "0.5" -thiserror = "1.0" +thiserror = "2.0" tokio = { version = "1.40", features = ["macros"] } tracing = "0.1.40" tracing-subscriber = "0.3.18" diff --git a/core/Cargo.toml b/core/Cargo.toml index 0e9ea3a19..32efb4a8d 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -36,6 +36,6 @@ reqwest = { version = "0.12.5", features = ["json", "socks"] } sentry = { version = "0.23", optional = true } serde = { version = "1.0.214", features = ["derive"] } serde_json = "1.0.133" -thiserror = "1.0" +thiserror = "2.0" tokio = { version = "1.40.0", features = ["rt-multi-thread", "macros"] } tracing = "0.1.40"