From 3be4faf9b71774ecacca755d5f1dc598f45f25a5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 22 Aug 2023 02:09:59 +0000 Subject: [PATCH] Bump jsonrpsee from 0.16.2 to 0.20.0 Bumps [jsonrpsee](https://github.com/paritytech/jsonrpsee) from 0.16.2 to 0.20.0. - [Release notes](https://github.com/paritytech/jsonrpsee/releases) - [Changelog](https://github.com/paritytech/jsonrpsee/blob/master/CHANGELOG.md) - [Commits](https://github.com/paritytech/jsonrpsee/compare/v0.16.2...v0.20.0) --- updated-dependencies: - dependency-name: jsonrpsee dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 139 +++++++++++++++++++++++++++++++++++++++++++++-------- Cargo.toml | 2 +- 2 files changed, 120 insertions(+), 21 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d01a4d8..1ce6a73 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1693,10 +1693,10 @@ dependencies = [ "http", "hyper", "log", - "rustls", + "rustls 0.20.8", "rustls-native-certs", "tokio", - "tokio-rustls", + "tokio-rustls 0.23.4", "webpki-roots", ] @@ -1928,10 +1928,21 @@ version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d291e3a5818a2384645fd9756362e6d89cf0541b0b916fa7702ea4a9833608e" dependencies = [ - "jsonrpsee-client-transport", - "jsonrpsee-core", + "jsonrpsee-client-transport 0.16.2", + "jsonrpsee-core 0.16.2", "jsonrpsee-http-client", - "jsonrpsee-types", + "jsonrpsee-types 0.16.2", +] + +[[package]] +name = "jsonrpsee" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8002beb64691edce321fc16cdba91916b10d798f9d480a05467b0ee98463c03b" +dependencies = [ + "jsonrpsee-client-transport 0.20.0", + "jsonrpsee-core 0.20.0", + "jsonrpsee-types 0.20.0", "jsonrpsee-ws-client", ] @@ -1943,19 +1954,39 @@ checksum = "965de52763f2004bc91ac5bcec504192440f0b568a5d621c59d9dbd6f886c3fb" dependencies = [ "futures-util", "http", - "jsonrpsee-core", - "jsonrpsee-types", + "jsonrpsee-core 0.16.2", + "jsonrpsee-types 0.16.2", "pin-project", "rustls-native-certs", "soketto", "thiserror", "tokio", - "tokio-rustls", + "tokio-rustls 0.23.4", "tokio-util", "tracing", "webpki-roots", ] +[[package]] +name = "jsonrpsee-client-transport" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "310f9566a32ec8db214805127c4f17e7e8e91015e4a1407fc1d0e84df0086a73" +dependencies = [ + "futures-util", + "http", + "jsonrpsee-core 0.20.0", + "pin-project", + "rustls-native-certs", + "soketto", + "thiserror", + "tokio", + "tokio-rustls 0.24.1", + "tokio-util", + "tracing", + "url", +] + [[package]] name = "jsonrpsee-core" version = "0.16.2" @@ -1970,7 +2001,28 @@ dependencies = [ "futures-timer", "futures-util", "hyper", - "jsonrpsee-types", + "jsonrpsee-types 0.16.2", + "rustc-hash", + "serde", + "serde_json", + "thiserror", + "tokio", + "tracing", +] + +[[package]] +name = "jsonrpsee-core" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4278372ecb78ebb522c36a242209a29162f4af0997a41158c8b60450b081baf1" +dependencies = [ + "anyhow", + "async-lock", + "async-trait", + "beef", + "futures-timer", + "futures-util", + "jsonrpsee-types 0.20.0", "rustc-hash", "serde", "serde_json", @@ -1988,8 +2040,8 @@ dependencies = [ "async-trait", "hyper", "hyper-rustls", - "jsonrpsee-core", - "jsonrpsee-types", + "jsonrpsee-core 0.16.2", + "jsonrpsee-types 0.16.2", "rustc-hash", "serde", "serde_json", @@ -2012,16 +2064,31 @@ dependencies = [ "tracing", ] +[[package]] +name = "jsonrpsee-types" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbea61f2d95b9592491228db0c4d2b1e43ea1154ed9713bb666169cf3919ea7d" +dependencies = [ + "anyhow", + "beef", + "serde", + "serde_json", + "thiserror", + "tracing", +] + [[package]] name = "jsonrpsee-ws-client" -version = "0.16.2" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b83daeecfc6517cfe210df24e570fb06213533dfb990318fae781f4c7119dd9" +checksum = "9590173f77867bc96b5127e4a862e2edcb7f603c83616e9302d68aab983bc023" dependencies = [ "http", - "jsonrpsee-client-transport", - "jsonrpsee-core", - "jsonrpsee-types", + "jsonrpsee-client-transport 0.20.0", + "jsonrpsee-core 0.20.0", + "jsonrpsee-types 0.20.0", + "url", ] [[package]] @@ -3065,6 +3132,18 @@ dependencies = [ "webpki", ] +[[package]] +name = "rustls" +version = "0.21.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d1feddffcfcc0b33f5c6ce9a29e341e4cd59c3f78e7ee45f4a40c038b1d6cbb" +dependencies = [ + "log", + "ring", + "rustls-webpki", + "sct", +] + [[package]] name = "rustls-native-certs" version = "0.6.3" @@ -3086,6 +3165,16 @@ dependencies = [ "base64 0.21.2", ] +[[package]] +name = "rustls-webpki" +version = "0.101.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "261e9e0888cba427c3316e6322805653c9425240b6fd96cee7cb671ab70ab8d0" +dependencies = [ + "ring", + "untrusted", +] + [[package]] name = "rustversion" version = "1.0.14" @@ -3527,7 +3616,7 @@ dependencies = [ "clap", "color-eyre", "futures", - "jsonrpsee", + "jsonrpsee 0.20.0", "lettre", "parity-scale-codec", "regex", @@ -4438,7 +4527,7 @@ dependencies = [ "futures", "hex", "impl-serde", - "jsonrpsee", + "jsonrpsee 0.16.2", "parity-scale-codec", "primitive-types", "scale-bits", @@ -4467,7 +4556,7 @@ dependencies = [ "frame-metadata 16.0.0", "heck", "hex", - "jsonrpsee", + "jsonrpsee 0.16.2", "parity-scale-codec", "proc-macro2", "quote", @@ -4734,11 +4823,21 @@ version = "0.23.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" dependencies = [ - "rustls", + "rustls 0.20.8", "tokio", "webpki", ] +[[package]] +name = "tokio-rustls" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" +dependencies = [ + "rustls 0.21.6", + "tokio", +] + [[package]] name = "tokio-stream" version = "0.1.14" diff --git a/Cargo.toml b/Cargo.toml index 0e5ff9e..bbf84e1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ array-bytes = { version = "6.1" } clap = { version = "4.3", features = ["derive"] } color-eyre = { version = "0.6" } futures = { version = "0.3" } -jsonrpsee = { version = "0.16", features = ["async-client", "jsonrpsee-client-transport", "ws-client"] } +jsonrpsee = { version = "0.20", features = ["async-client", "jsonrpsee-client-transport", "ws-client"] } lettre = { version = "0.10" } parity-scale-codec = { version = "3.6" } regex = { version = "1.9" }