From e16a4a0fc69f4e2c1a3d491399332674d2014984 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 29 Aug 2023 16:03:18 +0000 Subject: [PATCH] chore(deps): update async-graphql to v6 --- Cargo.lock | 111 +++++++++++++++++++++++++++++++++++++++++------------ Cargo.toml | 4 +- 2 files changed, 89 insertions(+), 26 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cbaf1d5..bf826b0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -67,9 +67,9 @@ dependencies = [ [[package]] name = "async-graphql" -version = "5.0.10" +version = "6.0.4" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "b35ef8f9be23ee30fe1eb1cf175c689bc33517c6c6d0fd0669dade611e5ced7f" +checksum = "d1a08c6aae08f17556577c8b6964f9a4e63dab9ebb42c6c27990d48c810292f9" dependencies = [ "async-graphql-derive", "async-graphql-parser", @@ -81,7 +81,7 @@ dependencies = [ "fnv", "futures-util", "http", - "indexmap", + "indexmap 2.0.0", "mime", "multer", "num-traits", @@ -99,26 +99,27 @@ dependencies = [ [[package]] name = "async-graphql-axum" -version = "5.0.10" +version = "6.0.4" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "777d02b4b35c1eb15bb63391f45b4622206fe1199940fa8b4b6136904fae035c" +checksum = "86ec214a63d8f3d5cbc79d9f2c6bf011334f1a57f124d7655169fd18d5dbfbdc" dependencies = [ "async-graphql", "async-trait", "axum", "bytes", "futures-util", - "http-body", "serde_json", + "tokio", + "tokio-stream", "tokio-util", "tower-service", ] [[package]] name = "async-graphql-derive" -version = "5.0.10" +version = "6.0.4" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "1a0f6ceed3640b4825424da70a5107e79d48d9b2bc6318dfc666b2fc4777f8c4" +checksum = "37bef462c5729e53970def569499cfcad11e5019f634158d015b75ffbc4609c3" dependencies = [ "Inflector", "async-graphql-parser", @@ -126,15 +127,16 @@ dependencies = [ "proc-macro-crate", "proc-macro2", "quote", - "syn 1.0.107", + "strum", + "syn 2.0.23", "thiserror", ] [[package]] name = "async-graphql-parser" -version = "5.0.10" +version = "6.0.4" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "ecc308cd3bc611ee86c9cf19182d2b5ee583da40761970e41207f088be3db18f" +checksum = "6b00b7296259479864a53dd32aa4dfbec8ed4c5d3b8c0337334a076fe0791935" dependencies = [ "async-graphql-value", "pest", @@ -144,12 +146,12 @@ dependencies = [ [[package]] name = "async-graphql-value" -version = "5.0.10" +version = "6.0.4" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "d461325bfb04058070712296601dfe5e5bd6cdff84780a0a8c569ffb15c87eb3" +checksum = "77ae89db8cdd72492b16a487649405296eee4e40e25620d17720656816c4503a" dependencies = [ "bytes", - "indexmap", + "indexmap 2.0.0", "serde", "serde_json", ] @@ -371,9 +373,9 @@ dependencies = [ [[package]] name = "darling" -version = "0.14.3" +version = "0.20.3" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "c0808e1bd8671fb44a113a14e13497557533369847788fa2ae912b6ebfce9fa8" +checksum = "0209d94da627ab5605dcccf08bb18afa5009cfbef48d8a8b7d7bdbc79be25c5e" dependencies = [ "darling_core", "darling_macro", @@ -381,27 +383,27 @@ dependencies = [ [[package]] name = "darling_core" -version = "0.14.3" +version = "0.20.3" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "001d80444f28e193f30c2f293455da62dcf9a6b29918a4253152ae2b1de592cb" +checksum = "177e3443818124b357d8e76f53be906d60937f0d3a90773a664fa63fa253e621" dependencies = [ "fnv", "ident_case", "proc-macro2", "quote", "strsim", - "syn 1.0.107", + "syn 2.0.23", ] [[package]] name = "darling_macro" -version = "0.14.3" +version = "0.20.3" source = "registry+/~https://github.com/rust-lang/crates.io-index" -checksum = "b36230598a2d5de7ec1c6f51f72d8a99a9208daff41de2084d06e3fd3ea56685" +checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5" dependencies = [ "darling_core", "quote", - "syn 1.0.107", + "syn 2.0.23", ] [[package]] @@ -429,6 +431,12 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "equivalent" +version = "1.0.1" +source = "registry+/~https://github.com/rust-lang/crates.io-index" +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" + [[package]] name = "flate2" version = "1.0.25" @@ -576,6 +584,12 @@ version = "0.12.3" source = "registry+/~https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" +[[package]] +name = "hashbrown" +version = "0.14.0" +source = "registry+/~https://github.com/rust-lang/crates.io-index" +checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" + [[package]] name = "headers" version = "0.3.8" @@ -601,6 +615,12 @@ dependencies = [ "http", ] +[[package]] +name = "heck" +version = "0.4.1" +source = "registry+/~https://github.com/rust-lang/crates.io-index" +checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" + [[package]] name = "hermit-abi" version = "0.2.6" @@ -696,7 +716,17 @@ source = "registry+/~https://github.com/rust-lang/crates.io-index" checksum = "1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399" dependencies = [ "autocfg", - "hashbrown", + "hashbrown 0.12.3", +] + +[[package]] +name = "indexmap" +version = "2.0.0" +source = "registry+/~https://github.com/rust-lang/crates.io-index" +checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" +dependencies = [ + "equivalent", + "hashbrown 0.14.0", "serde", ] @@ -1162,6 +1192,28 @@ version = "0.10.0" source = "registry+/~https://github.com/rust-lang/crates.io-index" checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" +[[package]] +name = "strum" +version = "0.25.0" +source = "registry+/~https://github.com/rust-lang/crates.io-index" +checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" +dependencies = [ + "strum_macros", +] + +[[package]] +name = "strum_macros" +version = "0.25.2" +source = "registry+/~https://github.com/rust-lang/crates.io-index" +checksum = "ad8d03b598d3d0fff69bf533ee3ef19b8eeb342729596df84bcc7e1f96ec4059" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "rustversion", + "syn 2.0.23", +] + [[package]] name = "syn" version = "1.0.107" @@ -1264,6 +1316,17 @@ dependencies = [ "syn 2.0.23", ] +[[package]] +name = "tokio-stream" +version = "0.1.14" +source = "registry+/~https://github.com/rust-lang/crates.io-index" +checksum = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" +dependencies = [ + "futures-core", + "pin-project-lite", + "tokio", +] + [[package]] name = "tokio-tungstenite" version = "0.20.0" @@ -1302,7 +1365,7 @@ version = "0.18.1" source = "registry+/~https://github.com/rust-lang/crates.io-index" checksum = "56c59d8dd7d0dcbc6428bf7aa2f0e823e26e43b3c9aca15bbc9475d23e5fa12b" dependencies = [ - "indexmap", + "indexmap 1.9.2", "nom8", "toml_datetime", ] diff --git a/Cargo.toml b/Cargo.toml index b1785f8..3c646ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,8 +8,8 @@ publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -async-graphql = { version = "5.0.10", default-features = false, features = ["tracing"] } -async-graphql-axum = { version = "5.0.10", default-features = false } +async-graphql = { version = "6.0.4", default-features = false, features = ["tracing"] } +async-graphql-axum = { version = "6.0.4", default-features = false } async-trait = "0.1.73" axum = { version = "0.6.20", default-features = false, features = ["headers"] } headers = "0.3.8"