diff --git a/Cargo.lock b/Cargo.lock index 33d55ed..439457f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -386,7 +386,7 @@ dependencies = [ "bitflags 1.3.2", "bytes 1.6.0", "futures-util", - "http", + "http 0.2.12", "http-body 0.4.6", "hyper 0.14.28", "itoa 1.0.11", @@ -412,7 +412,7 @@ dependencies = [ "async-trait", "bytes 1.6.0", "futures-util", - "http", + "http 0.2.12", "http-body 0.4.6", "mime", "rustversion", @@ -1360,7 +1360,7 @@ dependencies = [ "futures-core", "futures-sink", "gloo-utils", - "http", + "http 0.2.12", "js-sys", "pin-project", "serde", @@ -1423,7 +1423,7 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.12", "indexmap 1.9.3", "slab", "tokio 0.2.25", @@ -1443,7 +1443,7 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.12", "indexmap 2.2.6", "slab", "tokio 1.37.0", @@ -1515,6 +1515,17 @@ dependencies = [ "itoa 1.0.11", ] +[[package]] +name = "http" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258" +dependencies = [ + "bytes 1.6.0", + "fnv", + "itoa 1.0.11", +] + [[package]] name = "http-body" version = "0.3.1" @@ -1522,7 +1533,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13d5ff830006f7646652e057693569bfe0d51760c0085a071769d142a205111b" dependencies = [ "bytes 0.5.6", - "http", + "http 0.2.12", ] [[package]] @@ -1532,10 +1543,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes 1.6.0", - "http", + "http 0.2.12", "pin-project-lite 0.2.14", ] +[[package]] +name = "http-body" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cac85db508abc24a2e48553ba12a996e87244a0395ce011e62b37158745d643" +dependencies = [ + "bytes 1.6.0", + "http 1.1.0", +] + [[package]] name = "http-range-header" version = "0.3.1" @@ -1577,7 +1598,7 @@ dependencies = [ "futures-core", "futures-util", "h2 0.2.7", - "http", + "http 0.2.12", "http-body 0.3.1", "httparse", "httpdate 0.3.2", @@ -1600,7 +1621,7 @@ dependencies = [ "futures-core", "futures-util", "h2 0.3.26", - "http", + "http 0.2.12", "http-body 0.4.6", "httparse", "httpdate 1.0.3", @@ -1613,6 +1634,18 @@ dependencies = [ "want", ] +[[package]] +name = "hyper" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe575dd17d0862a9a33781c8c4696a55c320909004a67a00fb286ba8b1bc496d" +dependencies = [ + "bytes 1.6.0", + "http 1.1.0", + "http-body 1.0.0", + "tokio 1.37.0", +] + [[package]] name = "hyper-rustls" version = "0.24.2" @@ -1620,7 +1653,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" dependencies = [ "futures-util", - "http", + "http 0.2.12", "hyper 0.14.28", "log", "rustls 0.21.11", @@ -1937,7 +1970,7 @@ dependencies = [ "futures-channel", "futures-util", "gloo-net", - "http", + "http 0.2.12", "jsonrpsee-core", "pin-project", "rustls-native-certs 0.7.0", @@ -2018,7 +2051,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3b5bfbda5f8fb63f997102fd18f73e35e34c84c6dcdbdbbe72c6e48f6d2c959b" dependencies = [ "futures-util", - "http", + "http 0.2.12", "hyper 0.14.28", "jsonrpsee-core", "jsonrpsee-types", @@ -2065,7 +2098,7 @@ version = "0.22.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32f00abe918bf34b785f87459b9205790e5361a3f7437adb50e928dc243f27eb" dependencies = [ - "http", + "http 0.2.12", "jsonrpsee-client-transport", "jsonrpsee-core", "jsonrpsee-types", @@ -2433,7 +2466,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3e09667367cb509f10d7cf5960a83f9c4d96e93715f750b164b4b98d46c3cbf4" dependencies = [ "futures-core", - "http", + "http 0.2.12", "indexmap 2.2.6", "itertools 0.11.0", "once_cell", @@ -2455,7 +2488,7 @@ checksum = "7f51189ce8be654f9b5f7e70e49967ed894e84a06fc35c6c042e64ac1fc5399e" dependencies = [ "async-trait", "bytes 1.6.0", - "http", + "http 0.2.12", "opentelemetry", "reqwest", ] @@ -3067,7 +3100,7 @@ dependencies = [ "futures-core", "futures-util", "h2 0.3.26", - "http", + "http 0.2.12", "http-body 0.4.6", "hyper 0.14.28", "ipnet", @@ -3501,7 +3534,7 @@ dependencies = [ "base64 0.13.1", "bytes 1.6.0", "futures", - "http", + "http 0.2.12", "httparse", "log", "rand 0.8.5", @@ -3553,8 +3586,8 @@ dependencies = [ "futures", "futures-util", "governor", - "http", - "hyper 0.14.28", + "http 0.2.12", + "hyper 1.3.1", "jsonrpc-http-server", "jsonrpc-pubsub", "jsonrpc-ws-server", @@ -3905,7 +3938,7 @@ dependencies = [ "base64 0.21.7", "bytes 1.6.0", "h2 0.3.26", - "http", + "http 0.2.12", "http-body 0.4.6", "hyper 0.14.28", "hyper-timeout", @@ -3953,7 +3986,7 @@ dependencies = [ "bytes 1.6.0", "futures-core", "futures-util", - "http", + "http 0.2.12", "http-body 0.4.6", "http-range-header", "httpdate 1.0.3", diff --git a/Cargo.toml b/Cargo.toml index ca01148..377fc17 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ clap = { version = "4.1.1", features = ["derive"] } enumflags2 = "0.7.7" futures = "0.3.25" http = "0.2" -hyper = "0.14" +hyper = "1.3" moka = { version = "0.12", features = ["future"] } opentelemetry = { version = "0.21.0" } opentelemetry-datadog = { version = "0.9.0", features = ["reqwest-client"] }