diff --git a/Cargo.lock b/Cargo.lock index 146608d..c30fe3a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "Inflector" @@ -202,9 +202,9 @@ dependencies = [ "bitflags 1.3.1", "bytes", "futures-util", - "http", - "http-body", - "hyper", + "http 0.2.8", + "http-body 0.4.5", + "hyper 0.14.32", "itoa", "matchit", "memchr", @@ -229,8 +229,8 @@ dependencies = [ "async-trait", "bytes", "futures-util", - "http", - "http-body", + "http 0.2.8", + "http-body 0.4.5", "mime", "rustversion", "tower-layer 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -544,7 +544,7 @@ dependencies = [ "bytes", "futures-core", "futures-util", - "http", + "http 0.2.8", "mime", "mime_guess", "rand", @@ -1466,7 +1466,7 @@ dependencies = [ "graphql-parser", "hex", "hex-literal 0.4.1", - "http", + "http 0.2.8", "humantime", "isatty", "itertools 0.12.0", @@ -1566,7 +1566,7 @@ dependencies = [ "graph-runtime-derive", "graph-runtime-wasm", "hex", - "http", + "http 0.2.8", "itertools 0.12.0", "jsonrpc-core", "lazy_static", @@ -1697,7 +1697,7 @@ dependencies = [ "graph-server-websocket", "graph-store-postgres", "graphql-parser", - "http", + "http 0.2.8", "json-structural-diff", "lazy_static", "prometheus", @@ -1761,8 +1761,8 @@ dependencies = [ "graph-core", "graph-graphql", "graphql-parser", - "http", - "hyper", + "http 0.2.8", + "hyper 1.7.0", "serde", ] @@ -1782,8 +1782,8 @@ dependencies = [ "graph-chain-substreams", "graph-graphql", "graphql-parser", - "http", - "hyper", + "http 0.2.8", + "hyper 1.7.0", ] [[package]] @@ -1800,7 +1800,7 @@ name = "graph-server-metrics" version = "0.34.0" dependencies = [ "graph", - "hyper", + "hyper 1.7.0", ] [[package]] @@ -1811,7 +1811,7 @@ dependencies = [ "futures 0.1.31", "graph", "graphql-parser", - "http", + "http 0.2.8", "lazy_static", "serde", "serde_derive", @@ -1871,7 +1871,7 @@ dependencies = [ "graph-server-index-node", "graph-store-postgres", "graphql-parser", - "hyper", + "hyper 1.7.0", "secp256k1", "serde", "serde_yaml", @@ -1913,7 +1913,7 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.8", "indexmap 2.1.0", "slab", "tokio", @@ -1965,7 +1965,7 @@ dependencies = [ "bitflags 1.3.1", "bytes", "headers-core", - "http", + "http 0.2.8", "httpdate", "mime", "sha-1 0.9.7", @@ -1977,7 +1977,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429" dependencies = [ - "http", + "http 0.2.8", ] [[package]] @@ -2043,6 +2043,17 @@ dependencies = [ "itoa", ] +[[package]] +name = "http" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + [[package]] name = "http-body" version = "0.4.5" @@ -2050,10 +2061,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", - "http", + "http 0.2.8", "pin-project-lite", ] +[[package]] +name = "http-body" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" +dependencies = [ + "bytes", + "http 1.3.1", +] + [[package]] name = "http-range-header" version = "0.3.0" @@ -2062,9 +2083,9 @@ checksum = "0bfe8eed0a9285ef776bb792479ea3834e8b94e13d615c2f66d03dd50a435a29" [[package]] name = "httparse" -version = "1.7.1" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "496ce29bb5a52785b44e0f7ca2847ae0bb839c9bd28f69acac9b99d461c0c04c" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" [[package]] name = "httpdate" @@ -2080,28 +2101,43 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.18" +version = "0.14.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b26ae0a80afebe130861d90abf98e3814a4f28a4c6ffeb5ab8ebb2be311e0ef2" +checksum = "41dfc780fdec9373c01bae43289ea34c972e40ee3c9f6b3c8801a35f35586ce7" dependencies = [ "bytes", "futures-channel", "futures-core", "futures-util", "h2", - "http", - "http-body", + "http 0.2.8", + "http-body 0.4.5", "httparse", "httpdate", "itoa", "pin-project-lite", - "socket2 0.4.9", + "socket2 0.5.5", "tokio", "tower-service 0.3.1", "tracing", "want", ] +[[package]] +name = "hyper" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb3aa54a13a0dfe7fbe3a59e0c76093041720fdc77b110cc0fc260fafb4dc51e" +dependencies = [ + "bytes", + "http 1.3.1", + "http-body 1.0.1", + "httpdate", + "pin-project-lite", + "smallvec", + "tokio", +] + [[package]] name = "hyper-multipart-rfc7578" version = "0.8.0" @@ -2111,8 +2147,8 @@ dependencies = [ "bytes", "common-multipart-rfc7578", "futures-core", - "http", - "hyper", + "http 0.2.8", + "hyper 0.14.32", ] [[package]] @@ -2121,8 +2157,8 @@ version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1788965e61b367cd03a62950836d5cd41560c3577d90e40e0819373194d1661c" dependencies = [ - "http", - "hyper", + "http 0.2.8", + "hyper 0.14.32", "log", "rustls", "rustls-native-certs", @@ -2136,7 +2172,7 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1" dependencies = [ - "hyper", + "hyper 0.14.32", "pin-project-lite", "tokio", "tokio-io-timeout", @@ -2149,7 +2185,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ "bytes", - "hyper", + "hyper 0.14.32", "native-tls", "tokio", "tokio-native-tls", @@ -2306,8 +2342,8 @@ dependencies = [ "base64 0.13.1", "bytes", "futures 0.3.16", - "http", - "hyper", + "http 0.2.8", + "hyper 0.14.32", "hyper-multipart-rfc7578", "hyper-rustls", "ipfs-api-prelude", @@ -2326,7 +2362,7 @@ dependencies = [ "common-multipart-rfc7578", "dirs", "futures 0.3.16", - "http", + "http 0.2.8", "multiaddr", "multibase", "serde", @@ -2483,8 +2519,8 @@ dependencies = [ "futures-channel", "futures-util", "globset", - "http", - "hyper", + "http 0.2.8", + "hyper 0.14.32", "jsonrpsee-types", "lazy_static", "parking_lot 0.12.1", @@ -2506,7 +2542,7 @@ checksum = "03802f0373a38c2420c70b5144742d800b509e2937edc4afb116434f07120117" dependencies = [ "futures-channel", "futures-util", - "hyper", + "hyper 0.14.32", "jsonrpsee-core", "jsonrpsee-types", "serde", @@ -3561,9 +3597,9 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", - "http-body", - "hyper", + "http 0.2.8", + "http-body 0.4.5", + "hyper 0.14.32", "hyper-tls", "ipnet", "js-sys", @@ -4055,9 +4091,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.6.1" +version = "1.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" [[package]] name = "socket2" @@ -4701,9 +4737,9 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", - "http-body", - "hyper", + "http 0.2.8", + "http-body 0.4.5", + "hyper 0.14.32", "hyper-timeout", "percent-encoding", "pin-project", @@ -4784,8 +4820,8 @@ dependencies = [ "bytes", "futures-core", "futures-util", - "http", - "http-body", + "http 0.2.8", + "http-body 0.4.5", "http-range-header", "pin-project-lite", "tower 0.4.13 (registry+https://github.com/rust-lang/crates.io-index)", @@ -4893,7 +4929,7 @@ dependencies = [ "base64 0.13.1", "byteorder", "bytes", - "http", + "http 0.2.8", "httparse", "log", "rand", diff --git a/server/http/Cargo.toml b/server/http/Cargo.toml index 765b74e..21b69fe 100644 --- a/server/http/Cargo.toml +++ b/server/http/Cargo.toml @@ -7,7 +7,7 @@ edition.workspace = true futures = "0.1.21" graphql-parser = "0.4.0" http = "0.2" -hyper = "0.14" +hyper = "1.7" serde = "1.0" graph = { path = "../../graph" } graph-graphql = { path = "../../graphql" } diff --git a/server/index-node/Cargo.toml b/server/index-node/Cargo.toml index 3608357..e5c1b47 100644 --- a/server/index-node/Cargo.toml +++ b/server/index-node/Cargo.toml @@ -16,5 +16,5 @@ graph-chain-starknet = { path = "../../chain/starknet" } graph-chain-substreams = { path = "../../chain/substreams" } graphql-parser = "0.4.0" http = "0.2" -hyper = "0.14" +hyper = "1.7" git-testament = "0.2.5" diff --git a/server/metrics/Cargo.toml b/server/metrics/Cargo.toml index 67f6092..9509575 100644 --- a/server/metrics/Cargo.toml +++ b/server/metrics/Cargo.toml @@ -5,4 +5,4 @@ edition.workspace = true [dependencies] graph = { path = "../../graph" } -hyper = { version = "0.14", features = ["server"] } +hyper = { version = "1.7", features = ["server"] } diff --git a/tests/Cargo.toml b/tests/Cargo.toml index e54b00f..38ba564 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -18,7 +18,7 @@ graph-store-postgres = { path = "../store/postgres" } graph-server-index-node = { path = "../server/index-node" } graph-runtime-wasm = { path = "../runtime/wasm" } graphql-parser = "0.4.0" -hyper = "0.14" +hyper = "1.7" serde = "1.0" serde_yaml = "0.9.21" slog = { version = "2.7.0", features = ["release_max_level_trace", "max_level_trace"] }