diff --git a/Cargo.lock b/Cargo.lock index d47ef8a2cac59..5cc0e39c384d1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1342,7 +1342,7 @@ checksum = "22813a6dc45b335f9bade10bf7271dc477e81113e89eb251a0bc2a8a81c536e1" dependencies = [ "bstr", "csv-core", - "itoa", + "itoa 0.4.7", "ryu", "serde", ] @@ -2675,7 +2675,7 @@ checksum = "7245cd7449cc792608c3c8a9eaf69bd4eabbabf802713748fd739c98b82f0747" dependencies = [ "bytes 1.0.1", "fnv", - "itoa", + "itoa 0.4.7", ] [[package]] @@ -2691,9 +2691,9 @@ dependencies = [ [[package]] name = "httparse" -version = "1.4.1" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3a87b616e37e93c22fb19bcd386f02f3af5ea98a25670ad0fce773de23c5e68" +checksum = "9100414882e15fb7feccb4897e5f0ff0ff1ca7d1a86a23208ada4d7a18e6c6c4" [[package]] name = "httpdate" @@ -2737,9 +2737,9 @@ dependencies = [ [[package]] name = "hyper" -version = "0.14.11" +version = "0.14.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b61cf2d1aebcf6e6352c97b81dc2244ca29194be1b276f5d8ad5c6330fffb11" +checksum = "043f0e083e9901b6cc658a77d1eb86f4fc650bbb977a4337dd63192826aa85dd" dependencies = [ "bytes 1.0.1", "futures-channel", @@ -2749,7 +2749,7 @@ dependencies = [ "http-body", "httparse", "httpdate", - "itoa", + "itoa 1.0.1", "pin-project-lite 0.2.6", "socket2 0.4.0", "tokio", @@ -2766,7 +2766,7 @@ checksum = "5f9f7a97316d44c0af9b0301e65010573a853a9fc97046d7331d7f6bc0fd5a64" dependencies = [ "ct-logs", "futures-util", - "hyper 0.14.11", + "hyper 0.14.17", "log 0.4.14", "rustls", "rustls-native-certs", @@ -2782,7 +2782,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ "bytes 1.0.1", - "hyper 0.14.11", + "hyper 0.14.17", "native-tls", "tokio", "tokio-native-tls", @@ -2978,6 +2978,12 @@ version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736" +[[package]] +name = "itoa" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35" + [[package]] name = "jobserver" version = "0.1.21" @@ -3004,7 +3010,7 @@ checksum = "d2b99d4207e2a04fb4581746903c2bb7eb376f88de9c699d0f3e10feeac0cd3a" dependencies = [ "derive_more", "futures 0.3.16", - "hyper 0.14.11", + "hyper 0.14.17", "hyper-tls", "jsonrpc-core", "jsonrpc-pubsub", @@ -3060,7 +3066,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e1dea6e07251d9ce6a552abfb5d7ad6bc290a4596c8dcc3d795fae2bbdc1f3ff" dependencies = [ "futures 0.3.16", - "hyper 0.14.11", + "hyper 0.14.17", "jsonrpc-core", "jsonrpc-server-utils", "log 0.4.14", @@ -3156,7 +3162,7 @@ dependencies = [ "beef", "futures-channel", "futures-util", - "hyper 0.14.11", + "hyper 0.14.17", "log 0.4.14", "serde", "serde_json", @@ -4920,7 +4926,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bafe4179722c2894288ee77a9f044f02811c86af699344c498b0840c698a2465" dependencies = [ "arrayvec 0.4.12", - "itoa", + "itoa 0.4.7", ] [[package]] @@ -8237,7 +8243,7 @@ dependencies = [ "futures 0.3.16", "futures-timer 3.0.2", "hex", - "hyper 0.14.11", + "hyper 0.14.17", "hyper-rustls", "lazy_static", "log 0.4.14", @@ -8842,7 +8848,7 @@ version = "1.0.68" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0f690853975602e1bfe1ccbf50504d67174e3bcf340f23b5ea9992e0587a52d8" dependencies = [ - "itoa", + "itoa 0.4.7", "ryu", "serde", ] @@ -10063,7 +10069,7 @@ dependencies = [ "async-std", "derive_more", "futures-util", - "hyper 0.14.11", + "hyper 0.14.17", "log 0.4.14", "prometheus", "tokio", @@ -10901,7 +10907,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1f559b464de2e2bdabcac6a210d12e9b5a5973c251e102c44c585c71d51bd78e" dependencies = [ "cfg-if 1.0.0", - "rand 0.7.3", + "rand 0.8.4", "static_assertions", ] diff --git a/client/offchain/Cargo.toml b/client/offchain/Cargo.toml index 641a1e55063d0..158dd143cbcf9 100644 --- a/client/offchain/Cargo.toml +++ b/client/offchain/Cargo.toml @@ -31,7 +31,7 @@ sp-offchain = { version = "4.0.0-dev", path = "../../primitives/offchain" } sp-runtime = { version = "4.0.0-dev", path = "../../primitives/runtime" } sc-utils = { version = "4.0.0-dev", path = "../utils" } threadpool = "1.7" -hyper = "0.14.11" +hyper = "0.14.17" hyper-rustls = "0.22.1" [dev-dependencies] diff --git a/utils/prometheus/Cargo.toml b/utils/prometheus/Cargo.toml index 8b647d6282fba..6f37dd8bd9815 100644 --- a/utils/prometheus/Cargo.toml +++ b/utils/prometheus/Cargo.toml @@ -19,8 +19,8 @@ futures-util = { version = "0.3.17", default-features = false, features = ["io"] derive_more = "0.99" async-std = { version = "1.10.0", features = ["unstable"] } tokio = "1.10" -hyper = { version = "0.14.11", default-features = false, features = ["http1", "server", "tcp"] } +hyper = { version = "0.14.17", default-features = false, features = ["http1", "server", "tcp"] } [dev-dependencies] -hyper = { version = "0.14.11", features = ["client"] } +hyper = { version = "0.14.17", features = ["client"] } tokio = { version = "1.10", features = ["rt-multi-thread"] }