From 3061336b782c0f82dbafddd79520a4860098b86d Mon Sep 17 00:00:00 2001 From: Niklas Adolfsson Date: Thu, 6 Jun 2024 12:22:59 +0200 Subject: [PATCH] deps: tokio ^1.23.1 --- client/http-client/Cargo.toml | 4 ++-- client/transport/Cargo.toml | 2 +- client/ws-client/Cargo.toml | 2 +- core/Cargo.toml | 4 ++-- examples/Cargo.toml | 2 +- jsonrpsee/Cargo.toml | 2 +- proc-macros/Cargo.toml | 2 +- server/Cargo.toml | 2 +- test-utils/Cargo.toml | 2 +- tests/Cargo.toml | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/client/http-client/Cargo.toml b/client/http-client/Cargo.toml index 3927bdd637..216f2d0b3e 100644 --- a/client/http-client/Cargo.toml +++ b/client/http-client/Cargo.toml @@ -27,7 +27,7 @@ rustls-platform-verifier = { version = "0.3", optional = true } serde = { version = "1.0", default-features = false, features = ["derive"] } serde_json = "1" thiserror = "1" -tokio = { version = "1.16", features = ["time"] } +tokio = { version = "1.23.1", features = ["time"] } tracing = "0.1.34" tower = { version = "0.4.13", features = ["util"] } url = "2.4.0" @@ -35,7 +35,7 @@ url = "2.4.0" [dev-dependencies] tracing-subscriber = { version = "0.3.3", features = ["env-filter"] } jsonrpsee-test-utils = { path = "../../test-utils" } -tokio = { version = "1.16", features = ["net", "rt-multi-thread", "macros"] } +tokio = { version = "1.23.1", features = ["net", "rt-multi-thread", "macros"] } [features] default = ["tls"] diff --git a/client/transport/Cargo.toml b/client/transport/Cargo.toml index dd7189d764..4d863268e7 100644 --- a/client/transport/Cargo.toml +++ b/client/transport/Cargo.toml @@ -23,7 +23,7 @@ futures-channel = { version = "0.3.14", default-features = false, optional = tru 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 } -tokio = { version = "1.16", features = ["net", "time", "macros"], optional = true } +tokio = { version = "1.23.1", features = ["net", "time", "macros"], optional = true } pin-project = { version = "1", optional = true } url = { version = "2.4.0", optional = true } base64 = { version = "0.22", default-features = false, features = ["alloc"], optional = true } diff --git a/client/ws-client/Cargo.toml b/client/ws-client/Cargo.toml index 862f079d23..f291df9a8e 100644 --- a/client/ws-client/Cargo.toml +++ b/client/ws-client/Cargo.toml @@ -23,7 +23,7 @@ url = "2.4.0" [dev-dependencies] tracing-subscriber = { version = "0.3.3", features = ["env-filter"] } jsonrpsee-test-utils = { path = "../../test-utils" } -tokio = { version = "1.16", features = ["macros"] } +tokio = { version = "1.23.1", features = ["macros"] } serde_json = "1" serde = "1" rustls = { version = "0.23.7", default-features = false, features = ["logging", "std", "tls12", "ring"] } diff --git a/core/Cargo.toml b/core/Cargo.toml index 86874ac30f..a890298d17 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -32,7 +32,7 @@ http-body-util = { version = "0.1.1", optional = true } rustc-hash = { version = "1", optional = true } rand = { version = "0.8", optional = true } parking_lot = { version = "0.12", optional = true } -tokio = { version = "1.16", optional = true } +tokio = { version = "1.23.1", optional = true } wasm-bindgen-futures = { version = "0.4.19", optional = true } futures-timer = { version = "3", optional = true } tokio-stream = { version = "0.1", optional = true } @@ -67,7 +67,7 @@ async-wasm-client = [ [dev-dependencies] serde_json = "1.0" -tokio = { version = "1.16", features = ["macros", "rt"] } +tokio = { version = "1.23.1", features = ["macros", "rt"] } jsonrpsee = { path = "../jsonrpsee", features = ["server", "macros"] } http-body-util = "0.1.1" diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 5d89fec2df..7ca5a9b321 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -15,7 +15,7 @@ futures = "0.3" jsonrpsee = { path = "../jsonrpsee", features = ["server", "http-client", "ws-client", "macros", "client-ws-transport-tls"] } tracing = "0.1.34" tracing-subscriber = { version = "0.3.3", features = ["env-filter"] } -tokio = { version = "1.16", features = ["full"] } +tokio = { version = "1.23.1", features = ["full"] } tokio-stream = { version = "0.1", features = ["sync"] } serde_json = { version = "1" } tower-http = { version = "0.5.2", features = ["full"] } diff --git a/jsonrpsee/Cargo.toml b/jsonrpsee/Cargo.toml index 28dad2f9ab..448fe0f58f 100644 --- a/jsonrpsee/Cargo.toml +++ b/jsonrpsee/Cargo.toml @@ -25,7 +25,7 @@ jsonrpsee-proc-macros = { workspace = true, optional = true } jsonrpsee-core = { workspace = true, optional = true } jsonrpsee-types = { workspace = true, optional = true } tracing = { version = "0.1.34", optional = true } -tokio = { version = "1", optional = true } +tokio = { version = "1.23.1", optional = true } [features] client-ws-transport-tls = ["jsonrpsee-client-transport/ws", "jsonrpsee-client-transport/tls"] diff --git a/proc-macros/Cargo.toml b/proc-macros/Cargo.toml index fb0017601b..fbd832d5d7 100644 --- a/proc-macros/Cargo.toml +++ b/proc-macros/Cargo.toml @@ -32,5 +32,5 @@ futures-util = { version = "0.3.14", default-features = false } serde_json = "1" serde = "1" trybuild = "1.0" -tokio = { version = "1.16", features = ["rt", "macros"] } +tokio = { version = "1.23.1", features = ["rt", "macros"] } tower = "0.4" diff --git a/server/Cargo.toml b/server/Cargo.toml index a3ead80281..0e4f27a361 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -22,7 +22,7 @@ tracing = "0.1.34" serde = "1" serde_json = { version = "1", features = ["raw_value"] } soketto = { version = "0.8", features = ["http"] } -tokio = { version = "1.16", features = ["net", "rt-multi-thread", "macros", "time"] } +tokio = { version = "1.23.1", features = ["net", "rt-multi-thread", "macros", "time"] } tokio-util = { version = "0.7", features = ["compat"] } tokio-stream = { version = "0.1.7", features = ["sync"] } hyper = { version = "1.3", features = ["server", "http1", "http2"] } diff --git a/test-utils/Cargo.toml b/test-utils/Cargo.toml index 66d362db36..1d9f861118 100644 --- a/test-utils/Cargo.toml +++ b/test-utils/Cargo.toml @@ -16,5 +16,5 @@ tracing = "0.1.34" serde = { version = "1", default-features = false, features = ["derive"] } serde_json = "1" soketto = { version = "0.8.0", features = ["http"] } -tokio = { version = "1.16", features = ["net", "rt-multi-thread", "macros", "time"] } +tokio = { version = "1.23.1", features = ["net", "rt-multi-thread", "macros", "time"] } tokio-util = { version = "0.7", features = ["compat"] } diff --git a/tests/Cargo.toml b/tests/Cargo.toml index 568b9bff50..49bf5d3665 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -20,7 +20,7 @@ jsonrpsee = { path = "../jsonrpsee", features = ["server", "client-core", "http- jsonrpsee-test-utils = { path = "../test-utils" } serde = "1" serde_json = "1" -tokio = { version = "1.16", features = ["full"] } +tokio = { version = "1.23.1", features = ["full"] } tokio-stream = "0.1" tokio-util = { version = "0.7", features = ["compat"]} tower = { version = "0.4.13", features = ["full"] }