diff --git a/Cargo.lock b/Cargo.lock index 2b06f07cf..d87fe6450 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -450,7 +450,7 @@ dependencies = [ "multer", "num-traits", "once_cell", - "pin-project-lite", + "pin-project-lite 0.1.10", "regex", "serde", "serde_json", @@ -832,6 +832,12 @@ version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0e4cec68f03f32e44924783795810fa50a7035d8c8ebe78580ad7e6c703fba38" +[[package]] +name = "bytes" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4872d67bab6358e59559027aa3b9157c53d9358c51423c17554809a8858e0f8" + [[package]] name = "bytestring" version = "0.1.5" @@ -965,7 +971,7 @@ dependencies = [ "codechain-types", "coordinator", "crossbeam-channel 0.4.3", - "hyper 0.13.7", + "hyper 0.14.10", "kvdb", "kvdb-memorydb", "kvdb-rocksdb", @@ -2331,7 +2337,7 @@ dependencies = [ "futures-io", "memchr", "parking", - "pin-project-lite", + "pin-project-lite 0.1.10", "waker-fn", ] @@ -2653,19 +2659,26 @@ dependencies = [ [[package]] name = "http-body" -version = "0.3.1" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13d5ff830006f7646652e057693569bfe0d51760c0085a071769d142a205111b" +checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ - "bytes 0.5.6", + "bytes 1.1.0", "http 0.2.1", + "pin-project-lite 0.2.9", ] [[package]] name = "httparse" -version = "1.3.4" +version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9" +checksum = "496ce29bb5a52785b44e0f7ca2847ae0bb839c9bd28f69acac9b99d461c0c04c" + +[[package]] +name = "httpdate" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" [[package]] name = "humantime" @@ -2708,23 +2721,21 @@ dependencies = [ [[package]] name = "hyper" -version = "0.13.7" +version = "0.14.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e68a8dd9716185d9e64ea473ea6ef63529252e3e27623295a0378a19665d5eb" +checksum = "7728a72c4c7d72665fde02204bcbd93b247721025b222ef78606f14513e0fd03" dependencies = [ - "bytes 0.5.6", + "bytes 1.1.0", "futures-channel", "futures-core", "futures-util", - "h2 0.2.6", "http 0.2.1", - "http-body 0.3.1", + "http-body 0.4.5", "httparse", + "httpdate", "itoa", - "pin-project", - "socket2", - "time 0.1.43", - "tokio 0.2.22", + "pin-project-lite 0.2.9", + "tokio 1.19.2", "tower-service", "tracing", "want 0.3.0", @@ -3845,6 +3856,12 @@ version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e555d9e657502182ac97b539fb3dae8b79cda19e3e4f8ffb5e8de4f18df93c95" +[[package]] +name = "pin-project-lite" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" + [[package]] name = "pin-utils" version = "0.1.0" @@ -5170,13 +5187,22 @@ dependencies = [ "mio-named-pipes", "mio-uds", "num_cpus", - "pin-project-lite", + "pin-project-lite 0.1.10", "signal-hook-registry", "slab", "tokio-macros", "winapi 0.3.9", ] +[[package]] +name = "tokio" +version = "1.19.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c51a52ed6686dd62c320f9b89299e9dfb46f730c7a48e635c19f21d116cb1439" +dependencies = [ + "pin-project-lite 0.2.9", +] + [[package]] name = "tokio-buf" version = "0.1.1" @@ -5408,7 +5434,7 @@ dependencies = [ "futures-core", "futures-sink", "log", - "pin-project-lite", + "pin-project-lite 0.1.10", "tokio 0.2.22", ] @@ -5422,7 +5448,7 @@ dependencies = [ "futures-core", "futures-sink", "log", - "pin-project-lite", + "pin-project-lite 0.1.10", "tokio 0.2.22", ] @@ -5458,7 +5484,7 @@ checksum = "b0987850db3733619253fe60e17cb59b82d37c7e6c0236bb81e4d6b87c879f27" dependencies = [ "cfg-if", "log", - "pin-project-lite", + "pin-project-lite 0.1.10", "tracing-attributes", "tracing-core", ] diff --git a/core/Cargo.toml b/core/Cargo.toml index aeca0b3d1..0420a0bed 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -18,7 +18,7 @@ cstate = { package = "codechain-state", path = "../state" } ctimer = { package = "codechain-timer", path = "../util/timer" } ctypes = { package = "codechain-types", path = "../types" } crossbeam-channel = "0.4" -hyper = "0.13" +hyper = "0.14" kvdb = "0.1" kvdb-rocksdb = "0.1" kvdb-memorydb = "0.1"