From 86811f8527775539c8019adaa8990382dcb6972a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Apr 2024 19:30:40 +0000 Subject: [PATCH] Bump async-graphql-axum from 6.0.11 to 7.0.3 in /backend Bumps [async-graphql-axum](https://github.com/async-graphql/async-graphql) from 6.0.11 to 7.0.3. - [Release notes](https://github.com/async-graphql/async-graphql/releases) - [Changelog](https://github.com/async-graphql/async-graphql/blob/master/CHANGELOG.md) - [Commits](https://github.com/async-graphql/async-graphql/commits) --- updated-dependencies: - dependency-name: async-graphql-axum dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- backend/Cargo.lock | 431 ++++++++++++++++++++++----- backend/graphql_endpoints/Cargo.toml | 2 +- 2 files changed, 357 insertions(+), 76 deletions(-) diff --git a/backend/Cargo.lock b/backend/Cargo.lock index 238f15b8..b4cd48b7 100644 --- a/backend/Cargo.lock +++ b/backend/Cargo.lock @@ -262,9 +262,9 @@ version = "6.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "298a5d587d6e6fdb271bf56af2dc325a80eb291fd0fc979146584b9a05494a8c" dependencies = [ - "async-graphql-derive", - "async-graphql-parser", - "async-graphql-value", + "async-graphql-derive 6.0.11", + "async-graphql-parser 6.0.11", + "async-graphql-value 6.0.11", "async-stream", "async-trait", "base64 0.13.1", @@ -273,10 +273,10 @@ dependencies = [ "fnv", "futures-util", "handlebars", - "http", + "http 0.2.11", "indexmap 2.2.3", "mime", - "multer", + "multer 2.1.0", "num-traits", "once_cell", "pin-project-lite", @@ -292,15 +292,45 @@ dependencies = [ "uuid", ] +[[package]] +name = "async-graphql" +version = "7.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "261fa27d5bff5afdf7beff291b3bc73f99d1529804c70e51b0fbc51e70b1c6a9" +dependencies = [ + "async-graphql-derive 7.0.3", + "async-graphql-parser 7.0.3", + "async-graphql-value 7.0.3", + "async-stream", + "async-trait", + "base64 0.21.7", + "bytes", + "fnv", + "futures-util", + "http 1.1.0", + "indexmap 2.2.3", + "mime", + "multer 3.0.0", + "num-traits", + "once_cell", + "pin-project-lite", + "regex", + "serde", + "serde_json", + "serde_urlencoded", + "static_assertions_next", + "thiserror", +] + [[package]] name = "async-graphql-axum" -version = "6.0.11" +version = "7.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01a1c20a2059bffbc95130715b23435a05168c518fba9709c81fa2a38eed990c" +checksum = "93605d26b9da33b4cf6541906a9eb9e74396f1accbbc0f066e06f3b0869b84fc" dependencies = [ - "async-graphql", + "async-graphql 7.0.3", "async-trait", - "axum", + "axum 0.7.5", "bytes", "futures-util", "serde_json", @@ -317,12 +347,29 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7f329c7eb9b646a72f70c9c4b516c70867d356ec46cb00dcac8ad343fd006b0" dependencies = [ "Inflector", - "async-graphql-parser", + "async-graphql-parser 6.0.11", + "darling", + "proc-macro-crate", + "proc-macro2", + "quote", + "strum 0.25.0", + "syn 2.0.50", + "thiserror", +] + +[[package]] +name = "async-graphql-derive" +version = "7.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3188809947798ea6db736715a60cf645ba3b87ea031c710130e1476b48e45967" +dependencies = [ + "Inflector", + "async-graphql-parser 7.0.3", "darling", "proc-macro-crate", "proc-macro2", "quote", - "strum", + "strum 0.26.2", "syn 2.0.50", "thiserror", ] @@ -333,7 +380,19 @@ version = "6.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6139181845757fd6a73fbb8839f3d036d7150b798db0e9bb3c6e83cdd65bd53b" dependencies = [ - "async-graphql-value", + "async-graphql-value 6.0.11", + "pest", + "serde", + "serde_json", +] + +[[package]] +name = "async-graphql-parser" +version = "7.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4e65a0b83027f35b2a5d9728a098bc66ac394caa8191d2c65ed9eb2985cf3d8" +dependencies = [ + "async-graphql-value 7.0.3", "pest", "serde", "serde_json", @@ -351,6 +410,18 @@ dependencies = [ "serde_json", ] +[[package]] +name = "async-graphql-value" +version = "7.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68e40849c29a39012d38bff87bfed431f1ed6c53fbec493294c1045d61a7ae75" +dependencies = [ + "bytes", + "indexmap 2.2.3", + "serde", + "serde_json", +] + [[package]] name = "async-io" version = "1.13.0" @@ -527,8 +598,8 @@ dependencies = [ "aws-smithy-types", "aws-types", "bytes", - "http", - "http-body", + "http 0.2.11", + "http-body 0.4.6", "lazy_static", "percent-encoding", "pin-project-lite", @@ -551,7 +622,7 @@ dependencies = [ "aws-smithy-types", "aws-types", "fastrand 2.0.1", - "http", + "http 0.2.11", "percent-encoding", "tracing", "uuid", @@ -579,8 +650,8 @@ dependencies = [ "aws-smithy-xml", "aws-types", "bytes", - "http", - "http-body", + "http 0.2.11", + "http-body 0.4.6", "once_cell", "percent-encoding", "regex", @@ -601,7 +672,7 @@ dependencies = [ "form_urlencoded", "hex", "hmac", - "http", + "http 0.2.11", "once_cell", "percent-encoding", "regex", @@ -634,8 +705,8 @@ dependencies = [ "crc32c", "crc32fast", "hex", - "http", - "http-body", + "http 0.2.11", + "http-body 0.4.6", "md-5", "pin-project-lite", "sha1", @@ -655,9 +726,9 @@ dependencies = [ "aws-smithy-types", "bytes", "fastrand 2.0.1", - "http", - "http-body", - "hyper", + "http 0.2.11", + "http-body 0.4.6", + "hyper 0.14.28", "hyper-rustls", "lazy_static", "pin-project-lite", @@ -689,9 +760,9 @@ dependencies = [ "bytes", "bytes-utils", "futures-core", - "http", - "http-body", - "hyper", + "http 0.2.11", + "http-body 0.4.6", + "hyper 0.14.28", "once_cell", "percent-encoding", "pin-project-lite", @@ -710,8 +781,8 @@ dependencies = [ "aws-smithy-http", "aws-smithy-types", "bytes", - "http", - "http-body", + "http 0.2.11", + "http-body 0.4.6", "pin-project-lite", "tower", "tracing", @@ -739,8 +810,8 @@ dependencies = [ "aws-smithy-types", "bytes", "fastrand 2.0.1", - "http", - "http-body", + "http 0.2.11", + "http-body 0.4.6", "once_cell", "pin-project-lite", "pin-utils", @@ -758,7 +829,7 @@ dependencies = [ "aws-smithy-http", "aws-smithy-types", "bytes", - "http", + "http 0.2.11", "tokio", "tracing", ] @@ -797,7 +868,7 @@ dependencies = [ "aws-smithy-client", "aws-smithy-http", "aws-smithy-types", - "http", + "http 0.2.11", "rustc_version", "tracing", ] @@ -809,16 +880,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3b829e4e32b91e643de6eafe82b1d90675f5874230191a4ffbc1b336dec4d6bf" dependencies = [ "async-trait", - "axum-core", + "axum-core 0.3.4", "axum-macros", "base64 0.21.7", "bitflags 1.3.2", "bytes", "futures-util", "headers", - "http", - "http-body", - "hyper", + "http 0.2.11", + "http-body 0.4.6", + "hyper 0.14.28", "itoa", "matchit", "memchr", @@ -831,14 +902,51 @@ dependencies = [ "serde_path_to_error", "serde_urlencoded", "sha1", - "sync_wrapper", + "sync_wrapper 0.1.2", "tokio", - "tokio-tungstenite", + "tokio-tungstenite 0.20.1", "tower", "tower-layer", "tower-service", ] +[[package]] +name = "axum" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a6c9af12842a67734c9a2e355436e5d03b22383ed60cf13cd0c18fbfe3dcbcf" +dependencies = [ + "async-trait", + "axum-core 0.4.3", + "base64 0.21.7", + "bytes", + "futures-util", + "http 1.1.0", + "http-body 1.0.0", + "http-body-util", + "hyper 1.2.0", + "hyper-util", + "itoa", + "matchit", + "memchr", + "mime", + "percent-encoding", + "pin-project-lite", + "rustversion", + "serde", + "serde_json", + "serde_path_to_error", + "serde_urlencoded", + "sha1", + "sync_wrapper 1.0.1", + "tokio", + "tokio-tungstenite 0.21.0", + "tower", + "tower-layer", + "tower-service", + "tracing", +] + [[package]] name = "axum-core" version = "0.3.4" @@ -848,14 +956,35 @@ dependencies = [ "async-trait", "bytes", "futures-util", - "http", - "http-body", + "http 0.2.11", + "http-body 0.4.6", "mime", "rustversion", "tower-layer", "tower-service", ] +[[package]] +name = "axum-core" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a15c63fd72d41492dc4f497196f5da1fb04fb7529e631d73630d1b491e47a2e3" +dependencies = [ + "async-trait", + "bytes", + "futures-util", + "http 1.1.0", + "http-body 1.0.0", + "http-body-util", + "mime", + "pin-project-lite", + "rustversion", + "sync_wrapper 0.1.2", + "tower-layer", + "tower-service", + "tracing", +] + [[package]] name = "axum-macros" version = "0.3.8" @@ -1237,8 +1366,8 @@ dependencies = [ name = "compound_library" version = "0.1.0" dependencies = [ - "async-graphql", - "axum", + "async-graphql 6.0.11", + "axum 0.6.20", "chrono", "clap 4.5.4", "dotenvy", @@ -1259,8 +1388,8 @@ dependencies = [ name = "compound_soaking" version = "0.1.0" dependencies = [ - "async-graphql", - "axum", + "async-graphql 6.0.11", + "axum 0.6.20", "chrono", "clap 4.5.4", "dotenvy", @@ -1378,8 +1507,8 @@ dependencies = [ name = "crystal_library" version = "0.1.0" dependencies = [ - "async-graphql", - "axum", + "async-graphql 6.0.11", + "axum 0.6.20", "chrono", "clap 4.5.4", "dotenvy", @@ -1941,9 +2070,9 @@ dependencies = [ name = "graphql_endpoints" version = "0.1.0" dependencies = [ - "async-graphql", + "async-graphql 6.0.11", "async-graphql-axum", - "axum", + "axum 0.6.20", "futures-core", "opa_client", "tower-service", @@ -1954,7 +2083,7 @@ dependencies = [ name = "graphql_event_broker" version = "0.1.0" dependencies = [ - "async-graphql", + "async-graphql 6.0.11", "once_cell", "tokio", "tokio-stream", @@ -1971,7 +2100,7 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.11", "indexmap 2.2.3", "slab", "tokio", @@ -2027,7 +2156,7 @@ dependencies = [ "base64 0.21.7", "bytes", "headers-core", - "http", + "http 0.2.11", "httpdate", "mime", "sha1", @@ -2039,7 +2168,7 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429" dependencies = [ - "http", + "http 0.2.11", ] [[package]] @@ -2107,6 +2236,17 @@ dependencies = [ "itoa", ] +[[package]] +name = "http" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + [[package]] name = "http-body" version = "0.4.6" @@ -2114,7 +2254,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", - "http", + "http 0.2.11", + "pin-project-lite", +] + +[[package]] +name = "http-body" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cac85db508abc24a2e48553ba12a996e87244a0395ce011e62b37158745d643" +dependencies = [ + "bytes", + "http 1.1.0", +] + +[[package]] +name = "http-body-util" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0475f8b2ac86659c21b64320d5d653f9efe42acd2a4e560073ec61a155a34f1d" +dependencies = [ + "bytes", + "futures-core", + "http 1.1.0", + "http-body 1.0.0", "pin-project-lite", ] @@ -2141,19 +2304,38 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", - "http-body", + "http 0.2.11", + "http-body 0.4.6", "httparse", "httpdate", "itoa", "pin-project-lite", - "socket2 0.4.10", + "socket2 0.5.5", "tokio", "tower-service", "tracing", "want", ] +[[package]] +name = "hyper" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "186548d73ac615b32a73aafe38fb4f56c0d340e110e5a200bcadbaf2e199263a" +dependencies = [ + "bytes", + "futures-channel", + "futures-util", + "http 1.1.0", + "http-body 1.0.0", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "smallvec", + "tokio", +] + [[package]] name = "hyper-rustls" version = "0.24.2" @@ -2161,8 +2343,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" dependencies = [ "futures-util", - "http", - "hyper", + "http 0.2.11", + "hyper 0.14.28", "log", "rustls 0.21.10", "rustls-native-certs", @@ -2177,12 +2359,28 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ "bytes", - "hyper", + "hyper 0.14.28", "native-tls", "tokio", "tokio-native-tls", ] +[[package]] +name = "hyper-util" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca38ef113da30126bbff9cd1705f9273e15d45498615d138b0c20279ac7a76aa" +dependencies = [ + "bytes", + "futures-util", + "http 1.1.0", + "http-body 1.0.0", + "hyper 1.2.0", + "pin-project-lite", + "socket2 0.5.5", + "tokio", +] + [[package]] name = "iana-time-zone" version = "0.1.60" @@ -2564,7 +2762,25 @@ dependencies = [ "bytes", "encoding_rs", "futures-util", - "http", + "http 0.2.11", + "httparse", + "log", + "memchr", + "mime", + "spin 0.9.8", + "version_check", +] + +[[package]] +name = "multer" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a15d522be0a9c3e46fd2632e272d178f56387bdb5c9fbb3a36c649062e9b5219" +dependencies = [ + "bytes", + "encoding_rs", + "futures-util", + "http 1.1.0", "httparse", "log", "memchr", @@ -2686,7 +2902,7 @@ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" name = "opa_client" version = "0.1.0" dependencies = [ - "async-graphql", + "async-graphql 6.0.11", "derive_more", "reqwest", "serde", @@ -3068,8 +3284,8 @@ name = "pin_packing" version = "0.1.0" dependencies = [ "anyhow", - "async-graphql", - "axum", + "async-graphql 6.0.11", + "axum 0.6.20", "chrono", "clap 4.5.4", "dotenvy", @@ -3388,9 +3604,9 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", - "http-body", - "hyper", + "http 0.2.11", + "http-body 0.4.6", + "hyper 0.14.28", "hyper-tls", "ipnet", "js-sys", @@ -3405,7 +3621,7 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded", - "sync_wrapper", + "sync_wrapper 0.1.2", "system-configuration", "tokio", "tokio-native-tls", @@ -3933,8 +4149,8 @@ dependencies = [ name = "soakdb_sync" version = "0.1.0" dependencies = [ - "async-graphql", - "axum", + "async-graphql 6.0.11", + "axum 0.6.20", "chrono", "clap 4.5.4", "derive_more", @@ -4097,6 +4313,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" +[[package]] +name = "static_assertions_next" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7beae5182595e9a8b683fa98c4317f956c9a2dec3b9716990d20023cc60c766" + [[package]] name = "stringprep" version = "0.1.4" @@ -4126,7 +4348,16 @@ version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" dependencies = [ - "strum_macros", + "strum_macros 0.25.3", +] + +[[package]] +name = "strum" +version = "0.26.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d8cec3501a5194c432b2b7976db6b7d10ec95c253208b45f83f7136aa985e29" +dependencies = [ + "strum_macros 0.26.2", ] [[package]] @@ -4142,6 +4373,19 @@ dependencies = [ "syn 2.0.50", ] +[[package]] +name = "strum_macros" +version = "0.26.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6cf59daf282c0a494ba14fd21610a0325f9f90ec9d1231dea26bcb1d696c946" +dependencies = [ + "heck 0.4.1", + "proc-macro2", + "quote", + "rustversion", + "syn 2.0.50", +] + [[package]] name = "subtle" version = "2.5.0" @@ -4176,6 +4420,12 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" +[[package]] +name = "sync_wrapper" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394" + [[package]] name = "system-configuration" version = "0.5.1" @@ -4213,10 +4463,10 @@ name = "targeting" version = "0.1.0" dependencies = [ "anyhow", - "async-graphql", + "async-graphql 6.0.11", "aws-credential-types", "aws-sdk-s3", - "axum", + "axum 0.6.20", "chrono", "clap 4.5.4", "derive_more", @@ -4268,7 +4518,7 @@ checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9" name = "the_paginator" version = "0.1.0" dependencies = [ - "async-graphql", + "async-graphql 6.0.11", "async-trait", "sea-orm", "serde", @@ -4434,6 +4684,18 @@ dependencies = [ "tungstenite 0.20.1", ] +[[package]] +name = "tokio-tungstenite" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c83b561d025642014097b66e6c1bb422783339e0909e4429cde4749d1990bc38" +dependencies = [ + "futures-util", + "log", + "tokio", + "tungstenite 0.21.0", +] + [[package]] name = "tokio-util" version = "0.7.10" @@ -4583,7 +4845,7 @@ dependencies = [ "byteorder", "bytes", "data-encoding", - "http", + "http 0.2.11", "httparse", "log", "rand", @@ -4602,7 +4864,26 @@ dependencies = [ "byteorder", "bytes", "data-encoding", - "http", + "http 0.2.11", + "httparse", + "log", + "rand", + "sha1", + "thiserror", + "url", + "utf-8", +] + +[[package]] +name = "tungstenite" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ef1a641ea34f399a848dea702823bbecfb4c486f911735368f1f137cb8257e1" +dependencies = [ + "byteorder", + "bytes", + "data-encoding", + "http 1.1.0", "httparse", "log", "rand", diff --git a/backend/graphql_endpoints/Cargo.toml b/backend/graphql_endpoints/Cargo.toml index 2d27b087..94c71b91 100644 --- a/backend/graphql_endpoints/Cargo.toml +++ b/backend/graphql_endpoints/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" [dependencies] async-graphql = { workspace = true } -async-graphql-axum = { version = "6.0.11" } +async-graphql-axum = { version = "7.0.3" } axum = { workspace = true } futures-core = { version = "0.3.30" } opa_client = { path = "../opa_client" }