From c243f38fb76611adb10a7fdc730ecc3a51c5d3fd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Jul 2022 03:47:37 +0000 Subject: [PATCH] Bump jsonrpc-client-transports from 15.1.0 to 18.0.0 Bumps [jsonrpc-client-transports](https://github.com/paritytech/jsonrpc) from 15.1.0 to 18.0.0. - [Release notes](https://github.com/paritytech/jsonrpc/releases) - [Commits](https://github.com/paritytech/jsonrpc/compare/jsonrpc-client-transports-15.1.0...v18.0.0) --- updated-dependencies: - dependency-name: jsonrpc-client-transports dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 198 +++++++++++++++++++++++------ utils/frame/rpc/support/Cargo.toml | 2 +- 2 files changed, 157 insertions(+), 43 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 377059ba220c0..0c798bf70c031 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + [[package]] name = "Inflector" version = "0.11.4" @@ -2501,6 +2503,17 @@ dependencies = [ "http 0.2.3", ] +[[package]] +name = "http-body" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" +dependencies = [ + "bytes 1.0.1", + "http 0.2.3", + "pin-project-lite 0.2.6", +] + [[package]] name = "httparse" version = "1.3.5" @@ -2582,6 +2595,28 @@ dependencies = [ "want 0.3.0", ] +[[package]] +name = "hyper" +version = "0.14.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8bf09f61b52cfcf4c00de50df88ae423d6c02354e385a86341133b5338630ad1" +dependencies = [ + "bytes 1.0.1", + "futures-channel", + "futures-core", + "futures-util", + "http 0.2.3", + "http-body 0.4.5", + "httparse", + "httpdate", + "itoa", + "pin-project 1.0.5", + "tokio 1.6.0", + "tower-service", + "tracing", + "want 0.3.0", +] + [[package]] name = "hyper-rustls" version = "0.21.0" @@ -2814,14 +2849,32 @@ dependencies = [ "failure", "futures 0.1.31", "hyper 0.12.36", - "jsonrpc-core", - "jsonrpc-pubsub", + "jsonrpc-core 15.1.0", + "jsonrpc-pubsub 15.1.0", "log", "serde", "serde_json", "url 1.7.2", ] +[[package]] +name = "jsonrpc-client-transports" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2b99d4207e2a04fb4581746903c2bb7eb376f88de9c699d0f3e10feeac0cd3a" +dependencies = [ + "derive_more", + "futures 0.3.13", + "hyper 0.14.5", + "jsonrpc-core 18.0.0", + "jsonrpc-pubsub 18.0.0", + "log", + "serde", + "serde_json", + "tokio 1.6.0", + "url 1.7.2", +] + [[package]] name = "jsonrpc-core" version = "15.1.0" @@ -2835,13 +2888,28 @@ dependencies = [ "serde_json", ] +[[package]] +name = "jsonrpc-core" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "14f7f76aef2d054868398427f6c54943cf3d1caa9a7ec7d0c38d69df97a965eb" +dependencies = [ + "futures 0.3.13", + "futures-executor", + "futures-util", + "log", + "serde", + "serde_derive", + "serde_json", +] + [[package]] name = "jsonrpc-core-client" version = "15.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f764902d7b891344a0acb65625f32f6f7c6db006952143bd650209fbe7d94db" dependencies = [ - "jsonrpc-client-transports", + "jsonrpc-client-transports 15.1.0", ] [[package]] @@ -2863,7 +2931,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fb5c4513b7b542f42da107942b7b759f27120b5cc894729f88254b28dff44b7" dependencies = [ "hyper 0.12.36", - "jsonrpc-core", + "jsonrpc-core 15.1.0", "jsonrpc-server-utils", "log", "net2", @@ -2877,7 +2945,7 @@ version = "15.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf50e53e4eea8f421a7316c5f63e395f7bc7c4e786a6dc54d76fab6ff7aa7ce7" dependencies = [ - "jsonrpc-core", + "jsonrpc-core 15.1.0", "jsonrpc-server-utils", "log", "parity-tokio-ipc", @@ -2891,13 +2959,28 @@ version = "15.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "639558e0604013be9787ae52f798506ae42bf4220fe587bdc5625871cc8b9c77" dependencies = [ - "jsonrpc-core", + "jsonrpc-core 15.1.0", "log", "parking_lot 0.10.2", "rand 0.7.3", "serde", ] +[[package]] +name = "jsonrpc-pubsub" +version = "18.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "240f87695e6c6f62fb37f05c02c04953cf68d6408b8c1c89de85c7a0125b1011" +dependencies = [ + "futures 0.3.13", + "jsonrpc-core 18.0.0", + "lazy_static", + "log", + "parking_lot 0.11.1", + "rand 0.7.3", + "serde", +] + [[package]] name = "jsonrpc-server-utils" version = "15.1.0" @@ -2906,7 +2989,7 @@ checksum = "72f1f3990650c033bd8f6bd46deac76d990f9bbfb5f8dc8c4767bf0a00392176" dependencies = [ "bytes 0.4.12", "globset", - "jsonrpc-core", + "jsonrpc-core 15.1.0", "lazy_static", "log", "tokio 0.1.22", @@ -2920,7 +3003,7 @@ version = "15.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6596fe75209b73a2a75ebe1dce4e60e03b88a2b25e8807b667597f6315150d22" dependencies = [ - "jsonrpc-core", + "jsonrpc-core 15.1.0", "jsonrpc-server-utils", "log", "parity-ws", @@ -3879,6 +3962,19 @@ dependencies = [ "winapi 0.2.8", ] +[[package]] +name = "mio" +version = "0.7.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8067b404fe97c70829f082dec8bcf4f71225d7eaea1d8645349cb76fa06205cc" +dependencies = [ + "libc", + "log", + "miow 0.3.6", + "ntapi", + "winapi 0.3.9", +] + [[package]] name = "mio-extras" version = "2.0.6" @@ -3887,7 +3983,7 @@ checksum = "52403fe290012ce777c4626790c8951324a2b9e3316b3143779c72b029742f19" dependencies = [ "lazycell", "log", - "mio", + "mio 0.6.23", "slab", ] @@ -3898,7 +3994,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0840c1c50fd55e521b247f949c241c9997709f23bd7f023b9762cd561e935656" dependencies = [ "log", - "mio", + "mio 0.6.23", "miow 0.3.6", "winapi 0.3.9", ] @@ -3911,7 +4007,7 @@ checksum = "afcb699eb26d4332647cc848492bbc15eafb26f08d0304550d5aa1f612e066f0" dependencies = [ "iovec", "libc", - "mio", + "mio 0.6.23", ] [[package]] @@ -4108,7 +4204,7 @@ version = "2.0.0" dependencies = [ "futures 0.3.13", "futures-timer 3.0.2", - "jsonrpc-core", + "jsonrpc-core 15.1.0", "libp2p", "node-cli", "sc-rpc-api", @@ -4271,7 +4367,7 @@ dependencies = [ name = "node-rpc" version = "2.0.0" dependencies = [ - "jsonrpc-core", + "jsonrpc-core 15.1.0", "node-primitives", "pallet-contracts-rpc", "pallet-mmr-rpc", @@ -4394,7 +4490,7 @@ version = "3.0.0" dependencies = [ "frame-benchmarking", "frame-benchmarking-cli", - "jsonrpc-core", + "jsonrpc-core 15.1.0", "node-template-runtime", "pallet-transaction-payment-rpc", "sc-basic-authorship", @@ -4527,6 +4623,15 @@ dependencies = [ "version_check", ] +[[package]] +name = "ntapi" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c28774a7fd2fbb4f0babd8237ce554b73af68021b5f695a3cebd6c59bac0980f" +dependencies = [ + "winapi 0.3.9", +] + [[package]] name = "num-bigint" version = "0.2.6" @@ -4869,7 +4974,7 @@ dependencies = [ name = "pallet-contracts-rpc" version = "3.0.0" dependencies = [ - "jsonrpc-core", + "jsonrpc-core 15.1.0", "jsonrpc-core-client", "jsonrpc-derive", "pallet-contracts-primitives", @@ -5188,7 +5293,7 @@ dependencies = [ name = "pallet-mmr-rpc" version = "3.0.0" dependencies = [ - "jsonrpc-core", + "jsonrpc-core 15.1.0", "jsonrpc-core-client", "jsonrpc-derive", "pallet-mmr-primitives", @@ -5560,7 +5665,7 @@ dependencies = [ name = "pallet-transaction-payment-rpc" version = "3.0.0" dependencies = [ - "jsonrpc-core", + "jsonrpc-core 15.1.0", "jsonrpc-core-client", "jsonrpc-derive", "pallet-transaction-payment-rpc-runtime-api", @@ -5770,7 +5875,7 @@ dependencies = [ "bytes 0.4.12", "httparse", "log", - "mio", + "mio 0.6.23", "mio-extras", "rand 0.7.3", "sha-1 0.8.2", @@ -7217,7 +7322,7 @@ version = "0.9.0" dependencies = [ "derive_more", "futures 0.3.13", - "jsonrpc-core", + "jsonrpc-core 15.1.0", "jsonrpc-core-client", "jsonrpc-derive", "sc-consensus", @@ -7260,7 +7365,7 @@ dependencies = [ "async-trait", "derive_more", "futures 0.3.13", - "jsonrpc-core", + "jsonrpc-core 15.1.0", "jsonrpc-core-client", "jsonrpc-derive", "log", @@ -7495,10 +7600,10 @@ dependencies = [ "derive_more", "finality-grandpa", "futures 0.3.13", - "jsonrpc-core", + "jsonrpc-core 15.1.0", "jsonrpc-core-client", "jsonrpc-derive", - "jsonrpc-pubsub", + "jsonrpc-pubsub 15.1.0", "lazy_static", "log", "parity-scale-codec", @@ -7772,8 +7877,8 @@ dependencies = [ "futures 0.1.31", "futures 0.3.13", "hash-db", - "jsonrpc-core", - "jsonrpc-pubsub", + "jsonrpc-core 15.1.0", + "jsonrpc-pubsub 15.1.0", "lazy_static", "log", "parity-scale-codec", @@ -7813,10 +7918,10 @@ version = "0.9.0" dependencies = [ "derive_more", "futures 0.3.13", - "jsonrpc-core", + "jsonrpc-core 15.1.0", "jsonrpc-core-client", "jsonrpc-derive", - "jsonrpc-pubsub", + "jsonrpc-pubsub 15.1.0", "log", "parity-scale-codec", "parking_lot 0.11.1", @@ -7836,10 +7941,10 @@ name = "sc-rpc-server" version = "3.0.0" dependencies = [ "futures 0.1.31", - "jsonrpc-core", + "jsonrpc-core 15.1.0", "jsonrpc-http-server", "jsonrpc-ipc-server", - "jsonrpc-pubsub", + "jsonrpc-pubsub 15.1.0", "jsonrpc-ws-server", "log", "serde", @@ -7874,8 +7979,8 @@ dependencies = [ "futures 0.3.13", "futures-timer 3.0.2", "hash-db", - "jsonrpc-core", - "jsonrpc-pubsub", + "jsonrpc-core 15.1.0", + "jsonrpc-pubsub 15.1.0", "lazy_static", "log", "parity-scale-codec", @@ -7986,7 +8091,7 @@ dependencies = [ name = "sc-sync-state-rpc" version = "0.9.0" dependencies = [ - "jsonrpc-core", + "jsonrpc-core 15.1.0", "jsonrpc-core-client", "jsonrpc-derive", "sc-chain-spec", @@ -9511,8 +9616,8 @@ dependencies = [ "frame-support", "frame-system", "futures 0.3.13", - "jsonrpc-client-transports", - "jsonrpc-core", + "jsonrpc-client-transports 18.0.0", + "jsonrpc-core 15.1.0", "parity-scale-codec", "sc-rpc-api", "serde", @@ -9526,7 +9631,7 @@ version = "3.0.0" dependencies = [ "frame-system-rpc-runtime-api", "futures 0.3.13", - "jsonrpc-core", + "jsonrpc-core 15.1.0", "jsonrpc-core-client", "jsonrpc-derive", "log", @@ -9792,7 +9897,7 @@ dependencies = [ "env_logger 0.7.1", "frame-system", "futures 0.3.13", - "jsonrpc-core", + "jsonrpc-core 15.1.0", "log", "sc-basic-authorship", "sc-cli", @@ -9977,7 +10082,7 @@ checksum = "5a09c0b5bb588872ab2f09afa13ee6e9dac11e10a0ec9e8e3ba39a5a5d530af6" dependencies = [ "bytes 0.4.12", "futures 0.1.31", - "mio", + "mio 0.6.23", "num_cpus", "tokio-codec", "tokio-current-thread", @@ -10006,7 +10111,7 @@ dependencies = [ "lazy_static", "libc", "memchr", - "mio", + "mio 0.6.23", "mio-named-pipes", "mio-uds", "num_cpus", @@ -10024,8 +10129,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bd3076b5c8cc18138b8f8814895c11eb4de37114a5d127bafdc5e55798ceef37" dependencies = [ "autocfg", + "bytes 1.0.1", + "libc", + "memchr", + "mio 0.7.14", + "num_cpus", + "once_cell", + "parking_lot 0.11.1", "pin-project-lite 0.2.6", + "signal-hook-registry", "tokio-macros 1.2.0", + "winapi 0.3.9", ] [[package]] @@ -10122,7 +10236,7 @@ checksum = "9d282d483052288b2308ba5ee795f5673b159c9bdf63c385a05609da782a5eae" dependencies = [ "bytes 0.4.12", "futures 0.1.31", - "mio", + "mio 0.6.23", "mio-named-pipes", "tokio 0.1.22", ] @@ -10137,7 +10251,7 @@ dependencies = [ "futures 0.1.31", "lazy_static", "log", - "mio", + "mio 0.6.23", "num_cpus", "parking_lot 0.9.0", "slab", @@ -10186,7 +10300,7 @@ dependencies = [ "bytes 0.4.12", "futures 0.1.31", "iovec", - "mio", + "mio 0.6.23", "tokio-io", "tokio-reactor", ] @@ -10229,7 +10343,7 @@ dependencies = [ "bytes 0.4.12", "futures 0.1.31", "log", - "mio", + "mio 0.6.23", "tokio-codec", "tokio-io", "tokio-reactor", @@ -10246,7 +10360,7 @@ dependencies = [ "iovec", "libc", "log", - "mio", + "mio 0.6.23", "mio-uds", "tokio-codec", "tokio-io", diff --git a/utils/frame/rpc/support/Cargo.toml b/utils/frame/rpc/support/Cargo.toml index ca3705b499a22..7285c44c73777 100644 --- a/utils/frame/rpc/support/Cargo.toml +++ b/utils/frame/rpc/support/Cargo.toml @@ -13,7 +13,7 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] futures = { version = "0.3.0", features = ["compat"] } -jsonrpc-client-transports = { version = "15.1.0", default-features = false, features = ["http"] } +jsonrpc-client-transports = { version = "18.0.0", default-features = false, features = ["http"] } jsonrpc-core = "15.1.0" codec = { package = "parity-scale-codec", version = "2.0.0" } serde = "1"