diff --git a/client/http-client/Cargo.toml b/client/http-client/Cargo.toml index 70f45c3713..cae1d32544 100644 --- a/client/http-client/Cargo.toml +++ b/client/http-client/Cargo.toml @@ -15,7 +15,7 @@ publish = true [dependencies] async-trait = "0.1" -hyper = { version = "0.14.10", features = ["client", "http1", "http2", "tcp"] } +hyper = { version = "1.0.1", features = ["client", "http1", "http2", "tcp"] } hyper-rustls = { version = "0.24", optional = true, default-features = false, features = ["http1", "tls12", "logging"] } jsonrpsee-types = { workspace = true } jsonrpsee-core = { workspace = true, features = ["client", "http-helpers"] } diff --git a/core/Cargo.toml b/core/Cargo.toml index 84ee12c693..8b41f5ae7b 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -26,7 +26,7 @@ tracing = "0.1.34" # optional deps async-lock = { version = "3.0", optional = true } futures-util = { version = "0.3.14", default-features = false, optional = true } -hyper = { version = "0.14.10", default-features = false, features = ["stream"], optional = true } +hyper = { version = "1.0.1", default-features = false, features = ["stream"], optional = true } rustc-hash = { version = "1", optional = true } rand = { version = "0.8", optional = true } soketto = { version = "0.7.1", optional = true } diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 3882a7cd72..5de5f7ebf1 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -18,5 +18,5 @@ tokio-stream = { version = "0.1", features = ["sync"] } serde_json = { version = "1" } tower-http = { version = "0.4.0", features = ["full"] } tower = { version = "0.4.13", features = ["full"] } -hyper = "0.14.20" +hyper = "1.0.1" console-subscriber = "0.2.0" diff --git a/server/Cargo.toml b/server/Cargo.toml index 0473703faf..6318526ff8 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -25,7 +25,7 @@ soketto = { version = "0.7.1", features = ["http"] } tokio = { version = "1.16", features = ["net", "rt-multi-thread", "macros", "time"] } tokio-util = { version = "0.7", features = ["compat"] } tokio-stream = "0.1.7" -hyper = { version = "0.14", features = ["server", "http1", "http2"] } +hyper = { version = "1.0", features = ["server", "http1", "http2"] } tower = { version = "0.4.13", features = ["util"] } route-recognizer = "0.3.1" http = "0.2.9" diff --git a/test-utils/Cargo.toml b/test-utils/Cargo.toml index d998976b21..2a0a32e18c 100644 --- a/test-utils/Cargo.toml +++ b/test-utils/Cargo.toml @@ -9,7 +9,7 @@ publish = false [dependencies] futures-channel = "0.3.14" futures-util = "0.3.14" -hyper = { version = "0.14.10", features = ["full"] } +hyper = { version = "1.0.1", features = ["full"] } tracing = "0.1.34" serde = { version = "1", default-features = false, features = ["derive"] } serde_json = "1" diff --git a/tests/Cargo.toml b/tests/Cargo.toml index 75d14fac0a..43723be637 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -13,7 +13,7 @@ beef = { version = "0.5.1", features = ["impl_serde"] } fast-socks5 = { version = "0.9.1" } futures = { version = "0.3.14", default-features = false, features = ["std"] } futures-util = { version = "0.3.14", default-features = false, features = ["alloc"]} -hyper = { version = "0.14", features = ["http1", "client"] } +hyper = { version = "1.0", features = ["http1", "client"] } jsonrpsee = { path = "../jsonrpsee", features = ["server", "client-core", "http-client", "ws-client", "macros"] } jsonrpsee-test-utils = { path = "../test-utils" } serde = "1"