Skip to content

Commit d9bdd0a

Browse files
chore(deps): update thiserror requirement from 1 to 2 (#1491)
Updates the requirements on [thiserror](https://github.com/dtolnay/thiserror) to permit the latest version. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](dtolnay/thiserror@1.0.0...2.0.0) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent e3919b0 commit d9bdd0a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

client/http-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ rustls = { version = "0.23.7", default-features = false, optional = true, featur
2626
rustls-platform-verifier = { version = "0.3", optional = true }
2727
serde = { version = "1.0", default-features = false, features = ["derive"] }
2828
serde_json = "1"
29-
thiserror = "1"
29+
thiserror = "2"
3030
tokio = { version = "1.23.1", features = ["time"] }
3131
tracing = "0.1.34"
3232
tower = { workspace = true, features = ["util"] }

client/transport/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jsonrpsee-core = { workspace = true, features = ["client"] }
1818
tracing = "0.1.34"
1919

2020
# optional
21-
thiserror = { version = "1", optional = true }
21+
thiserror = { version = "2", optional = true }
2222
futures-util = { version = "0.3.14", default-features = false, features = ["alloc"], optional = true }
2323
http = { version = "1", optional = true }
2424
tokio-util = { version = "0.7", features = ["compat"], optional = true }

core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ publish = true
1616
[dependencies]
1717
async-trait = "0.1"
1818
jsonrpsee-types = { workspace = true }
19-
thiserror = "1"
19+
thiserror = "2"
2020
serde = { version = "1.0", default-features = false, features = ["derive"] }
2121
serde_json = { version = "1", features = ["raw_value"] }
2222
tracing = "0.1.34"

server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ http = "1"
3030
http-body = "1"
3131
http-body-util = "0.1.0"
3232
tower = { workspace = true, features = ["util"] }
33-
thiserror = "1"
33+
thiserror = "2"
3434
route-recognizer = "0.3.1"
3535
pin-project = "1.1.3"
3636

types/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ publish = true
1616
[dependencies]
1717
serde = { version = "1", default-features = false, features = ["derive"] }
1818
serde_json = { version = "1", default-features = false, features = ["alloc", "raw_value", "std"] }
19-
thiserror = "1.0"
19+
thiserror = "2.0"
2020
http = "1"

0 commit comments

Comments
 (0)