diff --git a/backend/Cargo.lock b/backend/Cargo.lock index 1d5bd75c..5e3bdbe0 100644 --- a/backend/Cargo.lock +++ b/backend/Cargo.lock @@ -253,9 +253,9 @@ version = "5.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b35ef8f9be23ee30fe1eb1cf175c689bc33517c6c6d0fd0669dade611e5ced7f" dependencies = [ - "async-graphql-derive", - "async-graphql-parser", - "async-graphql-value", + "async-graphql-derive 5.0.10", + "async-graphql-parser 5.0.10", + "async-graphql-value 5.0.10", "async-stream", "async-trait", "base64 0.13.1", @@ -283,19 +283,50 @@ dependencies = [ "uuid", ] +[[package]] +name = "async-graphql" +version = "6.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1addb0b551c59640e15de99e7566a4e3a1186cf42269e160c485ba6d8b43fe30" +dependencies = [ + "async-graphql-derive 6.0.7", + "async-graphql-parser 6.0.7", + "async-graphql-value 6.0.7", + "async-stream", + "async-trait", + "base64 0.13.1", + "bytes", + "fnv", + "futures-util", + "http", + "indexmap 2.0.0", + "mime", + "multer", + "num-traits", + "once_cell", + "pin-project-lite", + "regex", + "serde", + "serde_json", + "serde_urlencoded", + "static_assertions", + "thiserror", +] + [[package]] name = "async-graphql-axum" -version = "5.0.10" +version = "6.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "777d02b4b35c1eb15bb63391f45b4622206fe1199940fa8b4b6136904fae035c" +checksum = "c21af134ab9419aae6658298f819a28e4737ac81f96cde8008f9d49db1802662" dependencies = [ - "async-graphql", + "async-graphql 6.0.7", "async-trait", "axum", "bytes", "futures-util", - "http-body", "serde_json", + "tokio", + "tokio-stream", "tokio-util", "tower-service", ] @@ -307,8 +338,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a0f6ceed3640b4825424da70a5107e79d48d9b2bc6318dfc666b2fc4777f8c4" dependencies = [ "Inflector", - "async-graphql-parser", - "darling", + "async-graphql-parser 5.0.10", + "darling 0.14.4", "proc-macro-crate", "proc-macro2", "quote", @@ -316,13 +347,42 @@ dependencies = [ "thiserror", ] +[[package]] +name = "async-graphql-derive" +version = "6.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e1121ff0be2feea705c24f6940162c4f14a077e50a217b16e091e6534a8c08a" +dependencies = [ + "Inflector", + "async-graphql-parser 6.0.7", + "darling 0.20.3", + "proc-macro-crate", + "proc-macro2", + "quote", + "strum", + "syn 2.0.37", + "thiserror", +] + [[package]] name = "async-graphql-parser" version = "5.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ecc308cd3bc611ee86c9cf19182d2b5ee583da40761970e41207f088be3db18f" dependencies = [ - "async-graphql-value", + "async-graphql-value 5.0.10", + "pest", + "serde", + "serde_json", +] + +[[package]] +name = "async-graphql-parser" +version = "6.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0b6713fd4ffd610b8b6f6e911bf31277cbb84b7c2a9cdeeb39d1b3eed3b88e4" +dependencies = [ + "async-graphql-value 6.0.7", "pest", "serde", "serde_json", @@ -340,6 +400,18 @@ dependencies = [ "serde_json", ] +[[package]] +name = "async-graphql-value" +version = "6.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7d74240f9daa8c1e8f73e9cfcc338d20a88d00bbeb83ded49ce8e5b4dcec0f5" +dependencies = [ + "bytes", + "indexmap 2.0.0", + "serde", + "serde_json", +] + [[package]] name = "async-io" version = "1.13.0" @@ -1245,8 +1317,18 @@ version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850" dependencies = [ - "darling_core", - "darling_macro", + "darling_core 0.14.4", + "darling_macro 0.14.4", +] + +[[package]] +name = "darling" +version = "0.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0209d94da627ab5605dcccf08bb18afa5009cfbef48d8a8b7d7bdbc79be25c5e" +dependencies = [ + "darling_core 0.20.3", + "darling_macro 0.20.3", ] [[package]] @@ -1263,17 +1345,42 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "darling_core" +version = "0.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "177e3443818124b357d8e76f53be906d60937f0d3a90773a664fa63fa253e621" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn 2.0.37", +] + [[package]] name = "darling_macro" version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" dependencies = [ - "darling_core", + "darling_core 0.14.4", "quote", "syn 1.0.109", ] +[[package]] +name = "darling_macro" +version = "0.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5" +dependencies = [ + "darling_core 0.20.3", + "quote", + "syn 2.0.37", +] + [[package]] name = "data-encoding" version = "2.4.0" @@ -1657,7 +1764,7 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" name = "graphql_endpoints" version = "0.1.0" dependencies = [ - "async-graphql", + "async-graphql 5.0.10", "async-graphql-axum", "axum", "futures-core", @@ -1670,7 +1777,7 @@ dependencies = [ name = "graphql_event_broker" version = "0.1.0" dependencies = [ - "async-graphql", + "async-graphql 5.0.10", "once_cell", "tokio", "tokio-stream", @@ -1680,7 +1787,7 @@ dependencies = [ name = "graphql_types" version = "0.1.0" dependencies = [ - "async-graphql", + "async-graphql 5.0.10", "thiserror", "uuid", ] @@ -1960,6 +2067,7 @@ checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" dependencies = [ "equivalent", "hashbrown 0.14.0", + "serde", ] [[package]] @@ -2384,7 +2492,7 @@ checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" name = "opa_client" version = "0.1.0" dependencies = [ - "async-graphql", + "async-graphql 5.0.10", "derive_more", "reqwest", "serde", @@ -2740,7 +2848,7 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" name = "pin_packing" version = "0.1.0" dependencies = [ - "async-graphql", + "async-graphql 5.0.10", "axum", "chrono", "clap 4.4.4", @@ -3496,7 +3604,7 @@ dependencies = [ name = "soakdb_sync" version = "0.1.0" dependencies = [ - "async-graphql", + "async-graphql 5.0.10", "axum", "chrono", "clap 4.4.4", @@ -3677,6 +3785,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.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" +dependencies = [ + "heck 0.4.1", + "proc-macro2", + "quote", + "rustversion", + "syn 2.0.37", +] + [[package]] name = "subtle" version = "2.5.0" @@ -3727,7 +3857,7 @@ name = "targeting" version = "0.1.0" dependencies = [ "anyhow", - "async-graphql", + "async-graphql 5.0.10", "aws-sdk-s3", "axum", "chrono", diff --git a/backend/graphql_endpoints/Cargo.toml b/backend/graphql_endpoints/Cargo.toml index cde5b46e..784fd5aa 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 = "5.0.10" } +async-graphql-axum = { version = "6.0.7" } axum = { workspace = true } futures-core = { version = "0.3.28" } opa_client = { path = "../opa_client" }