From 683737daa2a6a0450e892154dae77f74eddca922 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 21 Mar 2025 14:29:18 +0000 Subject: [PATCH 1/2] fix(deps): update rust crate thiserror to v2 --- eventually-postgres/Cargo.toml | 2 +- eventually/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eventually-postgres/Cargo.toml b/eventually-postgres/Cargo.toml index afbb2144..c00d9cb2 100644 --- a/eventually-postgres/Cargo.toml +++ b/eventually-postgres/Cargo.toml @@ -26,7 +26,7 @@ sqlx = { version = "0.7.3", features = [ "postgres", "migrate", ] } -thiserror = "1.0.57" +thiserror = "2.0.0" [dev-dependencies] tokio = { version = "1.36.0", features = ["macros", "rt"] } diff --git a/eventually/Cargo.toml b/eventually/Cargo.toml index 305b2c0e..90903867 100644 --- a/eventually/Cargo.toml +++ b/eventually/Cargo.toml @@ -27,7 +27,7 @@ full = ["serde-prost", "serde-json", "tracing"] anyhow = "1.0.80" async-trait = "0.1.77" futures = "0.3.30" -thiserror = "1.0.57" +thiserror = "2.0.0" prost = { version = "0.13.0", optional = true } serde_json = { version = "1.0.114", optional = true } serde = { version = "1.0.197", features = ["derive"] } From 5797e34f421967f3edfa9fc27aa30992bbb48601 Mon Sep 17 00:00:00 2001 From: Danilo Cianfrone Date: Fri, 21 Mar 2025 15:35:19 +0100 Subject: [PATCH 2/2] fix: clippy errors --- .clippy.toml | 2 ++ eventually-postgres/Cargo.toml | 2 +- eventually/Cargo.toml | 2 +- examples/bank-accounting/Cargo.toml | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.clippy.toml b/.clippy.toml index 2e4bb2e9..a36da7ad 100644 --- a/.clippy.toml +++ b/.clippy.toml @@ -1,5 +1,7 @@ allowed-duplicate-crates = [ "syn", + "thiserror", + "thiserror-impl", # These are all coming from eventually-postgres, quite likely sqlx... "hashbrown", "wasi", diff --git a/eventually-postgres/Cargo.toml b/eventually-postgres/Cargo.toml index c00d9cb2..e8d357cb 100644 --- a/eventually-postgres/Cargo.toml +++ b/eventually-postgres/Cargo.toml @@ -26,7 +26,7 @@ sqlx = { version = "0.7.3", features = [ "postgres", "migrate", ] } -thiserror = "2.0.0" +thiserror = "2.0.12" [dev-dependencies] tokio = { version = "1.36.0", features = ["macros", "rt"] } diff --git a/eventually/Cargo.toml b/eventually/Cargo.toml index 90903867..0bd418b6 100644 --- a/eventually/Cargo.toml +++ b/eventually/Cargo.toml @@ -27,7 +27,7 @@ full = ["serde-prost", "serde-json", "tracing"] anyhow = "1.0.80" async-trait = "0.1.77" futures = "0.3.30" -thiserror = "2.0.0" +thiserror = "2.0.12" prost = { version = "0.13.0", optional = true } serde_json = { version = "1.0.114", optional = true } serde = { version = "1.0.197", features = ["derive"] } diff --git a/examples/bank-accounting/Cargo.toml b/examples/bank-accounting/Cargo.toml index e1fd53e0..6537e608 100644 --- a/examples/bank-accounting/Cargo.toml +++ b/examples/bank-accounting/Cargo.toml @@ -20,7 +20,7 @@ opentelemetry_sdk = { version = "0.21.2", features = ["rt-tokio"] } prost = "0.12.3" rust_decimal = "1.34.3" sqlx = { version = "0.7.3", features = ["runtime-tokio-rustls", "postgres"] } -thiserror = "1.0.57" +thiserror = "2.0.12" tokio = { version = "1.36.0", features = ["macros", "rt-multi-thread"] } tonic = { version = "0.11.0", features = ["gzip", "transport"] } tonic-health = "0.11.0"