From 8c551ef333598f7b3f635e325aa35352d077697a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 6 Nov 2024 12:37:17 +0000 Subject: [PATCH] chore(deps): update thiserror requirement from 1 to 2 Updates the requirements on [thiserror](https://github.com/dtolnay/thiserror) to permit the latest version. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.0...2.0.0) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- client/http-client/Cargo.toml | 2 +- client/transport/Cargo.toml | 2 +- core/Cargo.toml | 2 +- server/Cargo.toml | 2 +- types/Cargo.toml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/http-client/Cargo.toml b/client/http-client/Cargo.toml index daf7968259..10bb08e157 100644 --- a/client/http-client/Cargo.toml +++ b/client/http-client/Cargo.toml @@ -26,7 +26,7 @@ rustls = { version = "0.23.7", default-features = false, optional = true, featur rustls-platform-verifier = { version = "0.3", optional = true } serde = { version = "1.0", default-features = false, features = ["derive"] } serde_json = "1" -thiserror = "1" +thiserror = "2" tokio = { version = "1.23.1", features = ["time"] } tracing = "0.1.34" tower = { workspace = true, features = ["util"] } diff --git a/client/transport/Cargo.toml b/client/transport/Cargo.toml index ddb18bf131..55f1ace10d 100644 --- a/client/transport/Cargo.toml +++ b/client/transport/Cargo.toml @@ -18,7 +18,7 @@ jsonrpsee-core = { workspace = true, features = ["client"] } tracing = "0.1.34" # optional -thiserror = { version = "1", optional = true } +thiserror = { version = "2", optional = true } futures-util = { version = "0.3.14", default-features = false, features = ["alloc"], optional = true } http = { version = "1", optional = true } tokio-util = { version = "0.7", features = ["compat"], optional = true } diff --git a/core/Cargo.toml b/core/Cargo.toml index 685297d0cc..5ec5e8cda9 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -16,7 +16,7 @@ publish = true [dependencies] async-trait = "0.1" jsonrpsee-types = { workspace = true } -thiserror = "1" +thiserror = "2" serde = { version = "1.0", default-features = false, features = ["derive"] } serde_json = { version = "1", features = ["raw_value"] } tracing = "0.1.34" diff --git a/server/Cargo.toml b/server/Cargo.toml index 1cbd6c9e6c..0d620b7ecd 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -30,7 +30,7 @@ http = "1" http-body = "1" http-body-util = "0.1.0" tower = { workspace = true, features = ["util"] } -thiserror = "1" +thiserror = "2" route-recognizer = "0.3.1" pin-project = "1.1.3" diff --git a/types/Cargo.toml b/types/Cargo.toml index 62039633b2..2a498007c8 100644 --- a/types/Cargo.toml +++ b/types/Cargo.toml @@ -16,5 +16,5 @@ publish = true [dependencies] serde = { version = "1", default-features = false, features = ["derive"] } serde_json = { version = "1", default-features = false, features = ["alloc", "raw_value", "std"] } -thiserror = "1.0" +thiserror = "2.0" http = "1"