From 82178afa0447666619242c0180186164d2b2d99f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 21 Jun 2024 11:48:20 +0000 Subject: [PATCH] build(deps): bump jsonrpsee from 0.16.2 to 0.22.5 Bumps [jsonrpsee](https://github.com/paritytech/jsonrpsee) from 0.16.2 to 0.22.5. - [Release notes](https://github.com/paritytech/jsonrpsee/releases) - [Changelog](https://github.com/paritytech/jsonrpsee/blob/v0.22.5/CHANGELOG.md) - [Commits](https://github.com/paritytech/jsonrpsee/compare/v0.16.2...v0.22.5) --- updated-dependencies: - dependency-name: jsonrpsee dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 184 ++++++++++++++++++++++++++++-------------------- swap/Cargo.toml | 4 +- 2 files changed, 110 insertions(+), 78 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 203c718d..c21b0ab4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -143,15 +143,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "async-lock" -version = "2.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa24f727524730b077666307f2734b4a1a1c57acb79193127dcc8914d5242dd7" -dependencies = [ - "event-listener", -] - [[package]] name = "async-trait" version = "0.1.80" @@ -551,16 +542,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" -[[package]] -name = "bstr" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6798148dccfbff0fae41c7574d2fa8f1ef3492fba0face179de5d8d447d67b05" -dependencies = [ - "memchr", - "serde", -] - [[package]] name = "bumpalo" version = "3.6.1" @@ -1270,7 +1251,7 @@ checksum = "1657b4441c3403d9f7b3409e47575237dac27b1b5726df654a6ecbf92f0f7577" dependencies = [ "futures-core", "futures-sink", - "pin-project 1.0.5", + "pin-project 1.1.5", "spin 0.9.4", ] @@ -1494,19 +1475,6 @@ dependencies = [ "url", ] -[[package]] -name = "globset" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "029d74589adefde59de1a0c4f4732695c32805624aec7b68d91503d4dba79afc" -dependencies = [ - "aho-corasick", - "bstr", - "fnv", - "log", - "regex", -] - [[package]] name = "h2" version = "0.3.18" @@ -1985,35 +1953,36 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.16.2" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d291e3a5818a2384645fd9756362e6d89cf0541b0b916fa7702ea4a9833608e" +checksum = "cfdb12a2381ea5b2e68c3469ec604a007b367778cdb14d09612c8069ebd616ad" dependencies = [ - "jsonrpsee-core", + "jsonrpsee-core 0.22.5", "jsonrpsee-server", - "jsonrpsee-types", + "jsonrpsee-types 0.22.5", "jsonrpsee-ws-client", + "tokio", ] [[package]] name = "jsonrpsee-client-transport" -version = "0.16.2" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "965de52763f2004bc91ac5bcec504192440f0b568a5d621c59d9dbd6f886c3fb" +checksum = "4978087a58c3ab02efc5b07c5e5e2803024536106fd5506f558db172c889b3aa" dependencies = [ "futures-util", "http 0.2.11", - "jsonrpsee-core", - "jsonrpsee-types", - "pin-project 1.0.5", - "rustls-native-certs 0.6.3", + "jsonrpsee-core 0.22.5", + "pin-project 1.1.5", + "rustls-native-certs 0.7.0", + "rustls-pki-types", "soketto", "thiserror", "tokio", - "tokio-rustls 0.23.1", + "tokio-rustls 0.25.0", "tokio-util", "tracing", - "webpki-roots 0.22.2", + "url", ] [[package]] @@ -2023,42 +1992,58 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4e70b4439a751a5de7dd5ed55eacff78ebf4ffe0fc009cb1ebb11417f5b536b" dependencies = [ "anyhow", - "arrayvec", - "async-lock", "async-trait", "beef", "futures-channel", + "jsonrpsee-types 0.16.2", + "serde", + "serde_json", + "thiserror", + "tracing", +] + +[[package]] +name = "jsonrpsee-core" +version = "0.22.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b4b257e1ec385e07b0255dde0b933f948b5c8b8c28d42afda9587c3a967b896d" +dependencies = [ + "anyhow", + "async-trait", + "beef", "futures-timer", "futures-util", - "globset", "hyper 0.14.28", - "jsonrpsee-types", + "jsonrpsee-types 0.22.5", "parking_lot 0.12.0", + "pin-project 1.1.5", "rand 0.8.3", "rustc-hash", "serde", "serde_json", - "soketto", "thiserror", "tokio", + "tokio-stream", "tracing", ] [[package]] name = "jsonrpsee-server" -version = "0.16.2" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fb69dad85df79527c019659a992498d03f8495390496da2f07e6c24c2b356fc" +checksum = "12d8b6a9674422a8572e0b0abb12feeb3f2aeda86528c80d0350c2bd0923ab41" dependencies = [ - "futures-channel", "futures-util", "http 0.2.11", "hyper 0.14.28", - "jsonrpsee-core", - "jsonrpsee-types", + "jsonrpsee-core 0.22.5", + "jsonrpsee-types 0.22.5", + "pin-project 1.1.5", + "route-recognizer", "serde", "serde_json", "soketto", + "thiserror", "tokio", "tokio-stream", "tokio-util", @@ -2081,15 +2066,29 @@ dependencies = [ ] [[package]] -name = "jsonrpsee-ws-client" -version = "0.16.2" +name = "jsonrpsee-types" +version = "0.22.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b83daeecfc6517cfe210df24e570fb06213533dfb990318fae781f4c7119dd9" +checksum = "150d6168405890a7a3231a3c74843f58b8959471f6df76078db2619ddee1d07d" +dependencies = [ + "anyhow", + "beef", + "serde", + "serde_json", + "thiserror", +] + +[[package]] +name = "jsonrpsee-ws-client" +version = "0.22.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58b9db2dfd5bb1194b0ce921504df9ceae210a345bc2f6c5a61432089bbab070" dependencies = [ "http 0.2.11", "jsonrpsee-client-transport", - "jsonrpsee-core", - "jsonrpsee-types", + "jsonrpsee-core 0.22.5", + "jsonrpsee-types 0.22.5", + "url", ] [[package]] @@ -2167,7 +2166,7 @@ dependencies = [ "libp2p-yamux", "multiaddr", "parking_lot 0.11.2", - "pin-project 1.0.5", + "pin-project 1.1.5", "rand 0.7.3", "smallvec", ] @@ -2192,7 +2191,7 @@ dependencies = [ "multihash", "multistream-select", "parking_lot 0.11.2", - "pin-project 1.0.5", + "pin-project 1.1.5", "prost", "prost-build", "rand 0.8.3", @@ -2739,7 +2738,7 @@ dependencies = [ "bytes", "futures", "log", - "pin-project 1.0.5", + "pin-project 1.1.5", "smallvec", "unsigned-varint", ] @@ -2987,11 +2986,11 @@ dependencies = [ [[package]] name = "pin-project" -version = "1.0.5" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96fa8ebb90271c4477f144354485b8068bd8f6b78b428b01ba892ca26caf0b63" +checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" dependencies = [ - "pin-project-internal 1.0.5", + "pin-project-internal 1.1.5", ] [[package]] @@ -3007,13 +3006,13 @@ dependencies = [ [[package]] name = "pin-project-internal" -version = "1.0.5" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "758669ae3558c6f74bd2a18b41f7ac0b5a195aea6639d6a9b5e5d1ad5ba24c0b" +checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.46", ] [[package]] @@ -3587,6 +3586,12 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "route-recognizer" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afab94fb28594581f62d981211a9a4d53cc8130bbcbbb89a0440d9b8e81a7746" + [[package]] name = "rust_decimal" version = "1.30.0" @@ -3680,6 +3685,20 @@ dependencies = [ "webpki 0.22.0", ] +[[package]] +name = "rustls" +version = "0.22.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf4ef73721ac7bcd79b2b315da7779d8fc09718c6b3d2d1b2d94850eb8c18432" +dependencies = [ + "log", + "ring 0.17.3", + "rustls-pki-types", + "rustls-webpki", + "subtle", + "zeroize", +] + [[package]] name = "rustls" version = "0.23.10" @@ -3708,12 +3727,13 @@ dependencies = [ [[package]] name = "rustls-native-certs" -version = "0.6.3" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" +checksum = "8f1fb85efa936c42c6d5fc28d2629bb51e4b2f4b8a5211e297d599cc5a093792" dependencies = [ "openssl-probe", - "rustls-pemfile 1.0.0", + "rustls-pemfile 2.1.2", + "rustls-pki-types", "schannel", "security-framework", ] @@ -4538,7 +4558,7 @@ dependencies = [ "hyper 1.3.1", "itertools 0.13.0", "jsonrpsee", - "jsonrpsee-core", + "jsonrpsee-core 0.16.2", "libp2p", "mockito", "monero", @@ -4822,6 +4842,17 @@ dependencies = [ "webpki 0.22.0", ] +[[package]] +name = "tokio-rustls" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f" +dependencies = [ + "rustls 0.22.4", + "rustls-pki-types", + "tokio", +] + [[package]] name = "tokio-rustls" version = "0.26.0" @@ -4854,6 +4885,7 @@ dependencies = [ "futures-core", "pin-project-lite 0.2.13", "tokio", + "tokio-util", ] [[package]] @@ -4879,7 +4911,7 @@ checksum = "511de3f85caf1c98983545490c3d09685fa8eb634e57eec22bb4db271f46cbd8" dependencies = [ "futures-util", "log", - "pin-project 1.0.5", + "pin-project 1.1.5", "rustls 0.19.0", "tokio", "tokio-rustls 0.22.0", @@ -4971,7 +5003,7 @@ checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" dependencies = [ "futures-core", "futures-util", - "pin-project 1.0.5", + "pin-project 1.1.5", "pin-project-lite 0.2.13", "tokio", "tower-layer", @@ -5044,7 +5076,7 @@ checksum = "97d095ae15e245a057c8e8451bab9b3ee1e1f68e9ba2b4fbc18d0ac5237835f2" dependencies = [ "futures", "futures-task", - "pin-project 1.0.5", + "pin-project 1.1.5", "tracing", ] diff --git a/swap/Cargo.toml b/swap/Cargo.toml index fd2b0b39..11a1546e 100644 --- a/swap/Cargo.toml +++ b/swap/Cargo.toml @@ -32,7 +32,7 @@ ed25519-dalek = "1" futures = { version = "0.3", default-features = false } hex = "0.4" itertools = "0.13" -jsonrpsee = { version = "0.16.2", features = [ "server" ] } +jsonrpsee = { version = "0.22.5", features = [ "server" ] } jsonrpsee-core = "0.16.2" libp2p = { version = "0.42.2", default-features = false, features = [ "tcp-tokio", "yamux", "mplex", "dns-tokio", "noise", "request-response", "websocket", "ping", "rendezvous", "identify" ] } monero = { version = "0.12", features = [ "serde_support" ] } @@ -80,7 +80,7 @@ zip = "0.5" bitcoin-harness = { git = "https://github.com/delta1/bitcoin-harness-rs.git", rev = "80cc8d05db2610d8531011be505b7bee2b5cdf9f" } get-port = "3" hyper = "1.3" -jsonrpsee = { version = "0.16.2", features = [ "ws-client" ] } +jsonrpsee = { version = "0.22.5", features = [ "ws-client" ] } mockito = "1.4" monero-harness = { path = "../monero-harness" } port_check = "0.2"