From 668b1fea940a4a774afc43ac0dac0ea16ed86700 Mon Sep 17 00:00:00 2001 From: Sunli Date: Wed, 9 Sep 2020 10:08:17 +0800 Subject: [PATCH] Remove prefixes and add integrations subdirectory #259 --- .github/workflows/release.yml | 13 ++++++++----- Cargo.toml | 18 +++++++++--------- benchmark/Cargo.toml | 2 +- {async-graphql-derive => derive}/Cargo.toml | 2 +- {async-graphql-derive => derive}/src/args.rs | 0 {async-graphql-derive => derive}/src/enum.rs | 0 .../src/input_object.rs | 0 .../src/interface.rs | 0 {async-graphql-derive => derive}/src/lib.rs | 0 .../src/merged_object.rs | 0 .../src/merged_subscription.rs | 0 {async-graphql-derive => derive}/src/object.rs | 0 .../src/output_type.rs | 0 {async-graphql-derive => derive}/src/scalar.rs | 0 .../src/simple_object.rs | 0 .../src/subscription.rs | 0 {async-graphql-derive => derive}/src/union.rs | 0 {async-graphql-derive => derive}/src/utils.rs | 0 .../actix-web}/Cargo.toml | 2 +- .../actix-web}/src/lib.rs | 0 .../actix-web}/src/subscription.rs | 0 .../lambda}/Cargo.toml | 2 +- .../lambda}/src/lib.rs | 0 .../rocket}/Cargo.toml | 2 +- .../rocket}/src/lib.rs | 0 .../tide}/Cargo.toml | 2 +- .../tide}/src/lib.rs | 0 .../tide}/tests/graphql.rs | 0 .../tide}/tests/test_utils.rs | 0 .../warp}/Cargo.toml | 2 +- .../warp}/src/lib.rs | 0 {async-graphql-parser => parser}/Cargo.toml | 0 .../src/graphql.pest | 0 {async-graphql-parser => parser}/src/lib.rs | 0 .../src/parse/executable.rs | 0 .../src/parse/mod.rs | 0 .../src/parse/service.rs | 0 .../src/parse/utils.rs | 0 {async-graphql-parser => parser}/src/pos.rs | 0 .../src/types/executable.rs | 0 .../src/types/mod.rs | 0 .../src/types/service.rs | 0 .../tests/executables/directive_args.graphql | 0 .../tests/executables/fragment.graphql | 0 .../tests/executables/fragment_spread.graphql | 0 .../tests/executables/inline_fragment.graphql | 0 .../executables/inline_fragment_dir.graphql | 0 .../tests/executables/kitchen-sink.graphql | 0 .../executables/kitchen-sink_canonical.graphql | 0 .../tests/executables/minimal.graphql | 0 .../tests/executables/minimal_mutation.graphql | 0 .../tests/executables/minimal_query.graphql | 0 .../tests/executables/multiline_string.graphql | 0 .../executables/mutation_directive.graphql | 0 .../tests/executables/named_query.graphql | 0 .../tests/executables/nested_selection.graphql | 0 .../tests/executables/query_aliases.graphql | 0 .../tests/executables/query_arguments.graphql | 0 .../tests/executables/query_directive.graphql | 0 .../executables/query_list_argument.graphql | 0 .../executables/query_object_argument.graphql | 0 .../query_var_default_float.graphql | 0 .../executables/query_var_default_list.graphql | 0 .../query_var_default_object.graphql | 0 .../query_var_default_string.graphql | 0 .../executables/query_var_defaults.graphql | 0 .../tests/executables/query_vars.graphql | 0 .../tests/executables/string_literal.graphql | 0 .../executables/subscription_directive.graphql | 0 .../tests/services/directive.graphql | 0 .../services/directive_descriptions.graphql | 0 .../directive_descriptions_canonical.graphql | 0 .../tests/services/empty_union.graphql | 0 .../tests/services/enum.graphql | 0 .../tests/services/extend_enum.graphql | 0 .../tests/services/extend_input.graphql | 0 .../services/extend_input_canonical.graphql | 0 .../tests/services/extend_interface.graphql | 0 .../tests/services/extend_object.graphql | 0 .../tests/services/extend_scalar.graphql | 0 .../tests/services/implements.graphql | 0 .../tests/services/implements_amp.graphql | 0 .../services/implements_amp_canonical.graphql | 0 .../tests/services/input_type.graphql | 0 .../tests/services/interface.graphql | 0 .../tests/services/kitchen-sink.graphql | 0 .../services/kitchen-sink_canonical.graphql | 0 .../tests/services/minimal.graphql | 0 .../tests/services/minimal_type.graphql | 0 .../tests/services/scalar_type.graphql | 0 .../tests/services/simple_object.graphql | 0 .../tests/services/union.graphql | 0 .../tests/services/union_extension.graphql | 0 93 files changed, 24 insertions(+), 21 deletions(-) rename {async-graphql-derive => derive}/Cargo.toml (89%) rename {async-graphql-derive => derive}/src/args.rs (100%) rename {async-graphql-derive => derive}/src/enum.rs (100%) rename {async-graphql-derive => derive}/src/input_object.rs (100%) rename {async-graphql-derive => derive}/src/interface.rs (100%) rename {async-graphql-derive => derive}/src/lib.rs (100%) rename {async-graphql-derive => derive}/src/merged_object.rs (100%) rename {async-graphql-derive => derive}/src/merged_subscription.rs (100%) rename {async-graphql-derive => derive}/src/object.rs (100%) rename {async-graphql-derive => derive}/src/output_type.rs (100%) rename {async-graphql-derive => derive}/src/scalar.rs (100%) rename {async-graphql-derive => derive}/src/simple_object.rs (100%) rename {async-graphql-derive => derive}/src/subscription.rs (100%) rename {async-graphql-derive => derive}/src/union.rs (100%) rename {async-graphql-derive => derive}/src/utils.rs (100%) rename {async-graphql-actix-web => integrations/actix-web}/Cargo.toml (91%) rename {async-graphql-actix-web => integrations/actix-web}/src/lib.rs (100%) rename {async-graphql-actix-web => integrations/actix-web}/src/subscription.rs (100%) rename {async-graphql-lambda => integrations/lambda}/Cargo.toml (91%) rename {async-graphql-lambda => integrations/lambda}/src/lib.rs (100%) rename {async-graphql-rocket => integrations/rocket}/Cargo.toml (93%) rename {async-graphql-rocket => integrations/rocket}/src/lib.rs (100%) rename {async-graphql-tide => integrations/tide}/Cargo.toml (92%) rename {async-graphql-tide => integrations/tide}/src/lib.rs (100%) rename {async-graphql-tide => integrations/tide}/tests/graphql.rs (100%) rename {async-graphql-tide => integrations/tide}/tests/test_utils.rs (100%) rename {async-graphql-warp => integrations/warp}/Cargo.toml (92%) rename {async-graphql-warp => integrations/warp}/src/lib.rs (100%) rename {async-graphql-parser => parser}/Cargo.toml (100%) rename {async-graphql-parser => parser}/src/graphql.pest (100%) rename {async-graphql-parser => parser}/src/lib.rs (100%) rename {async-graphql-parser => parser}/src/parse/executable.rs (100%) rename {async-graphql-parser => parser}/src/parse/mod.rs (100%) rename {async-graphql-parser => parser}/src/parse/service.rs (100%) rename {async-graphql-parser => parser}/src/parse/utils.rs (100%) rename {async-graphql-parser => parser}/src/pos.rs (100%) rename {async-graphql-parser => parser}/src/types/executable.rs (100%) rename {async-graphql-parser => parser}/src/types/mod.rs (100%) rename {async-graphql-parser => parser}/src/types/service.rs (100%) rename {async-graphql-parser => parser}/tests/executables/directive_args.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/fragment.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/fragment_spread.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/inline_fragment.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/inline_fragment_dir.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/kitchen-sink.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/kitchen-sink_canonical.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/minimal.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/minimal_mutation.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/minimal_query.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/multiline_string.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/mutation_directive.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/named_query.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/nested_selection.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/query_aliases.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/query_arguments.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/query_directive.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/query_list_argument.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/query_object_argument.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/query_var_default_float.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/query_var_default_list.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/query_var_default_object.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/query_var_default_string.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/query_var_defaults.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/query_vars.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/string_literal.graphql (100%) rename {async-graphql-parser => parser}/tests/executables/subscription_directive.graphql (100%) rename {async-graphql-parser => parser}/tests/services/directive.graphql (100%) rename {async-graphql-parser => parser}/tests/services/directive_descriptions.graphql (100%) rename {async-graphql-parser => parser}/tests/services/directive_descriptions_canonical.graphql (100%) rename {async-graphql-parser => parser}/tests/services/empty_union.graphql (100%) rename {async-graphql-parser => parser}/tests/services/enum.graphql (100%) rename {async-graphql-parser => parser}/tests/services/extend_enum.graphql (100%) rename {async-graphql-parser => parser}/tests/services/extend_input.graphql (100%) rename {async-graphql-parser => parser}/tests/services/extend_input_canonical.graphql (100%) rename {async-graphql-parser => parser}/tests/services/extend_interface.graphql (100%) rename {async-graphql-parser => parser}/tests/services/extend_object.graphql (100%) rename {async-graphql-parser => parser}/tests/services/extend_scalar.graphql (100%) rename {async-graphql-parser => parser}/tests/services/implements.graphql (100%) rename {async-graphql-parser => parser}/tests/services/implements_amp.graphql (100%) rename {async-graphql-parser => parser}/tests/services/implements_amp_canonical.graphql (100%) rename {async-graphql-parser => parser}/tests/services/input_type.graphql (100%) rename {async-graphql-parser => parser}/tests/services/interface.graphql (100%) rename {async-graphql-parser => parser}/tests/services/kitchen-sink.graphql (100%) rename {async-graphql-parser => parser}/tests/services/kitchen-sink_canonical.graphql (100%) rename {async-graphql-parser => parser}/tests/services/minimal.graphql (100%) rename {async-graphql-parser => parser}/tests/services/minimal_type.graphql (100%) rename {async-graphql-parser => parser}/tests/services/scalar_type.graphql (100%) rename {async-graphql-parser => parser}/tests/services/simple_object.graphql (100%) rename {async-graphql-parser => parser}/tests/services/union.graphql (100%) rename {async-graphql-parser => parser}/tests/services/union_extension.graphql (100%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 30daf433..8658f363 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,22 +17,25 @@ jobs: package: - name: async-graphql-parser registryName: async-graphql-parser - path: async-graphql-parser + path: parser - name: async-graphql-derive registryName: async-graphql-derive - path: async-graphql-derive + path: derive - name: async-graphql registryName: async-graphql path: . - name: async-graphql-actix-web registryName: async-graphql-actix-web - path: async-graphql-actix-web + path: integrations/actix-web - name: async-graphql-warp registryName: async-graphql-warp - path: async-graphql-warp + path: integrations/warp - name: async-graphql-tide registryName: async-graphql-tide - path: async-graphql-tide + path: integrations/tide +# - name: async-graphql-rocket +# registryName: async-graphql-rocket +# path: async-graphql-rocket # - name: async-graphql-lambda # registryName: async-graphql-lambda # path: async-graphql-lambda diff --git a/Cargo.toml b/Cargo.toml index d8eb058c..febca7ce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,8 +17,8 @@ readme = "README.md" default = ["bson", "url", "chrono-tz"] [dependencies] -async-graphql-parser = { path = "async-graphql-parser", version = "1.17.3" } -async-graphql-derive = { path = "async-graphql-derive", version = "1.17.21" } +async-graphql-parser = { path = "parser", version = "1.17.3" } +async-graphql-derive = { path = "derive", version = "1.17.21" } anyhow = "1.0.26" thiserror = "1.0.11" async-trait = "0.1.30" @@ -57,12 +57,12 @@ async-std = { version = "1.5.0", features = ["attributes"] } [workspace] members = [ - "async-graphql-parser", - "async-graphql-derive", - "async-graphql-actix-web", - "async-graphql-warp", - "async-graphql-tide", - "async-graphql-rocket", -# "async-graphql-lambda", + "parser", + "derive", + "integrations/actix-web", + "integrations/warp", + "integrations/tide", + "integrations/rocket", +# "integrations/lambda", "benchmark", ] diff --git a/benchmark/Cargo.toml b/benchmark/Cargo.toml index 86e6bd69..5098bb46 100644 --- a/benchmark/Cargo.toml +++ b/benchmark/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" async-std = { version = "1.5.0", features = ["attributes"] } futures = "0.3.4" serde_json = "*" -async-graphql-parser = { path = "../async-graphql-parser" } +async-graphql-parser = { path = "../parser" } async-graphql = { path = ".." } jemallocator = { version = "0.3.2", optional = true } diff --git a/async-graphql-derive/Cargo.toml b/derive/Cargo.toml similarity index 89% rename from async-graphql-derive/Cargo.toml rename to derive/Cargo.toml index 5b42c2a6..38c09a42 100644 --- a/async-graphql-derive/Cargo.toml +++ b/derive/Cargo.toml @@ -16,7 +16,7 @@ categories = ["network-programming", "asynchronous"] proc-macro = true [dependencies] -async-graphql-parser = { path = "../async-graphql-parser", version = "1.17.2" } +async-graphql-parser = { path = "../parser", version = "1.17.2" } proc-macro2 = "1.0.6" syn = { version = "1.0.20", features = ["full", "extra-traits"] } quote = "1.0.3" diff --git a/async-graphql-derive/src/args.rs b/derive/src/args.rs similarity index 100% rename from async-graphql-derive/src/args.rs rename to derive/src/args.rs diff --git a/async-graphql-derive/src/enum.rs b/derive/src/enum.rs similarity index 100% rename from async-graphql-derive/src/enum.rs rename to derive/src/enum.rs diff --git a/async-graphql-derive/src/input_object.rs b/derive/src/input_object.rs similarity index 100% rename from async-graphql-derive/src/input_object.rs rename to derive/src/input_object.rs diff --git a/async-graphql-derive/src/interface.rs b/derive/src/interface.rs similarity index 100% rename from async-graphql-derive/src/interface.rs rename to derive/src/interface.rs diff --git a/async-graphql-derive/src/lib.rs b/derive/src/lib.rs similarity index 100% rename from async-graphql-derive/src/lib.rs rename to derive/src/lib.rs diff --git a/async-graphql-derive/src/merged_object.rs b/derive/src/merged_object.rs similarity index 100% rename from async-graphql-derive/src/merged_object.rs rename to derive/src/merged_object.rs diff --git a/async-graphql-derive/src/merged_subscription.rs b/derive/src/merged_subscription.rs similarity index 100% rename from async-graphql-derive/src/merged_subscription.rs rename to derive/src/merged_subscription.rs diff --git a/async-graphql-derive/src/object.rs b/derive/src/object.rs similarity index 100% rename from async-graphql-derive/src/object.rs rename to derive/src/object.rs diff --git a/async-graphql-derive/src/output_type.rs b/derive/src/output_type.rs similarity index 100% rename from async-graphql-derive/src/output_type.rs rename to derive/src/output_type.rs diff --git a/async-graphql-derive/src/scalar.rs b/derive/src/scalar.rs similarity index 100% rename from async-graphql-derive/src/scalar.rs rename to derive/src/scalar.rs diff --git a/async-graphql-derive/src/simple_object.rs b/derive/src/simple_object.rs similarity index 100% rename from async-graphql-derive/src/simple_object.rs rename to derive/src/simple_object.rs diff --git a/async-graphql-derive/src/subscription.rs b/derive/src/subscription.rs similarity index 100% rename from async-graphql-derive/src/subscription.rs rename to derive/src/subscription.rs diff --git a/async-graphql-derive/src/union.rs b/derive/src/union.rs similarity index 100% rename from async-graphql-derive/src/union.rs rename to derive/src/union.rs diff --git a/async-graphql-derive/src/utils.rs b/derive/src/utils.rs similarity index 100% rename from async-graphql-derive/src/utils.rs rename to derive/src/utils.rs diff --git a/async-graphql-actix-web/Cargo.toml b/integrations/actix-web/Cargo.toml similarity index 91% rename from async-graphql-actix-web/Cargo.toml rename to integrations/actix-web/Cargo.toml index 6c513c5b..2c970ba2 100644 --- a/async-graphql-actix-web/Cargo.toml +++ b/integrations/actix-web/Cargo.toml @@ -13,7 +13,7 @@ keywords = ["futures", "async", "graphql"] categories = ["network-programming", "asynchronous"] [dependencies] -async-graphql = { path = "..", version = "1.17.2" } +async-graphql = { path = "../..", version = "1.17.2" } actix-web = "2.0.0" actix-web-actors = "2.0.0" actix = "0.9.0" diff --git a/async-graphql-actix-web/src/lib.rs b/integrations/actix-web/src/lib.rs similarity index 100% rename from async-graphql-actix-web/src/lib.rs rename to integrations/actix-web/src/lib.rs diff --git a/async-graphql-actix-web/src/subscription.rs b/integrations/actix-web/src/subscription.rs similarity index 100% rename from async-graphql-actix-web/src/subscription.rs rename to integrations/actix-web/src/subscription.rs diff --git a/async-graphql-lambda/Cargo.toml b/integrations/lambda/Cargo.toml similarity index 91% rename from async-graphql-lambda/Cargo.toml rename to integrations/lambda/Cargo.toml index abc5bda6..ee3f98d5 100644 --- a/async-graphql-lambda/Cargo.toml +++ b/integrations/lambda/Cargo.toml @@ -13,7 +13,7 @@ keywords = ["futures", "async", "graphql"] categories = ["network-programming", "asynchronous"] [dependencies] -async-graphql = { path = "..", version = "1.17.2" } +async-graphql = { path = "../..", version = "1.17.2" } lambda_http = { git = "https://github.com/awslabs/aws-lambda-rust-runtime" } futures = "0.3.0" async-trait = "0.1.30" diff --git a/async-graphql-lambda/src/lib.rs b/integrations/lambda/src/lib.rs similarity index 100% rename from async-graphql-lambda/src/lib.rs rename to integrations/lambda/src/lib.rs diff --git a/async-graphql-rocket/Cargo.toml b/integrations/rocket/Cargo.toml similarity index 93% rename from async-graphql-rocket/Cargo.toml rename to integrations/rocket/Cargo.toml index 581524d1..d6344320 100644 --- a/async-graphql-rocket/Cargo.toml +++ b/integrations/rocket/Cargo.toml @@ -13,7 +13,7 @@ keywords = ["futures", "async", "graphql", "rocket"] categories = ["network-programming", "asynchronous"] [dependencies] -async-graphql = { path = "..", version = "1.17.21" } +async-graphql = { path = "../..", version = "1.17.21" } rocket = { git = "https://github.com/SergioBenitez/Rocket/", rev = "dc2c6ec", default-features = false } #TODO: Change to Cargo crate, when Rocket 0.5.0 is released log = "0.4.11" yansi = "0.5.0" diff --git a/async-graphql-rocket/src/lib.rs b/integrations/rocket/src/lib.rs similarity index 100% rename from async-graphql-rocket/src/lib.rs rename to integrations/rocket/src/lib.rs diff --git a/async-graphql-tide/Cargo.toml b/integrations/tide/Cargo.toml similarity index 92% rename from async-graphql-tide/Cargo.toml rename to integrations/tide/Cargo.toml index cf158c38..fed0aa29 100644 --- a/async-graphql-tide/Cargo.toml +++ b/integrations/tide/Cargo.toml @@ -13,7 +13,7 @@ keywords = ["futures", "async", "graphql"] categories = ["network-programming", "asynchronous"] [dependencies] -async-graphql = { path = "..", version = "1.17.2" } +async-graphql = { path = "../..", version = "1.17.2" } tide = "0.13.0" async-trait = "0.1.36" serde_json = "1.0.56" diff --git a/async-graphql-tide/src/lib.rs b/integrations/tide/src/lib.rs similarity index 100% rename from async-graphql-tide/src/lib.rs rename to integrations/tide/src/lib.rs diff --git a/async-graphql-tide/tests/graphql.rs b/integrations/tide/tests/graphql.rs similarity index 100% rename from async-graphql-tide/tests/graphql.rs rename to integrations/tide/tests/graphql.rs diff --git a/async-graphql-tide/tests/test_utils.rs b/integrations/tide/tests/test_utils.rs similarity index 100% rename from async-graphql-tide/tests/test_utils.rs rename to integrations/tide/tests/test_utils.rs diff --git a/async-graphql-warp/Cargo.toml b/integrations/warp/Cargo.toml similarity index 92% rename from async-graphql-warp/Cargo.toml rename to integrations/warp/Cargo.toml index 338b26d0..ce2766c6 100644 --- a/async-graphql-warp/Cargo.toml +++ b/integrations/warp/Cargo.toml @@ -13,7 +13,7 @@ keywords = ["futures", "async", "graphql"] categories = ["network-programming", "asynchronous"] [dependencies] -async-graphql = { path = "..", version = "1.17.2" } +async-graphql = { path = "../..", version = "1.17.2" } warp = "0.2.2" futures = "0.3.0" bytes = "0.5.4" diff --git a/async-graphql-warp/src/lib.rs b/integrations/warp/src/lib.rs similarity index 100% rename from async-graphql-warp/src/lib.rs rename to integrations/warp/src/lib.rs diff --git a/async-graphql-parser/Cargo.toml b/parser/Cargo.toml similarity index 100% rename from async-graphql-parser/Cargo.toml rename to parser/Cargo.toml diff --git a/async-graphql-parser/src/graphql.pest b/parser/src/graphql.pest similarity index 100% rename from async-graphql-parser/src/graphql.pest rename to parser/src/graphql.pest diff --git a/async-graphql-parser/src/lib.rs b/parser/src/lib.rs similarity index 100% rename from async-graphql-parser/src/lib.rs rename to parser/src/lib.rs diff --git a/async-graphql-parser/src/parse/executable.rs b/parser/src/parse/executable.rs similarity index 100% rename from async-graphql-parser/src/parse/executable.rs rename to parser/src/parse/executable.rs diff --git a/async-graphql-parser/src/parse/mod.rs b/parser/src/parse/mod.rs similarity index 100% rename from async-graphql-parser/src/parse/mod.rs rename to parser/src/parse/mod.rs diff --git a/async-graphql-parser/src/parse/service.rs b/parser/src/parse/service.rs similarity index 100% rename from async-graphql-parser/src/parse/service.rs rename to parser/src/parse/service.rs diff --git a/async-graphql-parser/src/parse/utils.rs b/parser/src/parse/utils.rs similarity index 100% rename from async-graphql-parser/src/parse/utils.rs rename to parser/src/parse/utils.rs diff --git a/async-graphql-parser/src/pos.rs b/parser/src/pos.rs similarity index 100% rename from async-graphql-parser/src/pos.rs rename to parser/src/pos.rs diff --git a/async-graphql-parser/src/types/executable.rs b/parser/src/types/executable.rs similarity index 100% rename from async-graphql-parser/src/types/executable.rs rename to parser/src/types/executable.rs diff --git a/async-graphql-parser/src/types/mod.rs b/parser/src/types/mod.rs similarity index 100% rename from async-graphql-parser/src/types/mod.rs rename to parser/src/types/mod.rs diff --git a/async-graphql-parser/src/types/service.rs b/parser/src/types/service.rs similarity index 100% rename from async-graphql-parser/src/types/service.rs rename to parser/src/types/service.rs diff --git a/async-graphql-parser/tests/executables/directive_args.graphql b/parser/tests/executables/directive_args.graphql similarity index 100% rename from async-graphql-parser/tests/executables/directive_args.graphql rename to parser/tests/executables/directive_args.graphql diff --git a/async-graphql-parser/tests/executables/fragment.graphql b/parser/tests/executables/fragment.graphql similarity index 100% rename from async-graphql-parser/tests/executables/fragment.graphql rename to parser/tests/executables/fragment.graphql diff --git a/async-graphql-parser/tests/executables/fragment_spread.graphql b/parser/tests/executables/fragment_spread.graphql similarity index 100% rename from async-graphql-parser/tests/executables/fragment_spread.graphql rename to parser/tests/executables/fragment_spread.graphql diff --git a/async-graphql-parser/tests/executables/inline_fragment.graphql b/parser/tests/executables/inline_fragment.graphql similarity index 100% rename from async-graphql-parser/tests/executables/inline_fragment.graphql rename to parser/tests/executables/inline_fragment.graphql diff --git a/async-graphql-parser/tests/executables/inline_fragment_dir.graphql b/parser/tests/executables/inline_fragment_dir.graphql similarity index 100% rename from async-graphql-parser/tests/executables/inline_fragment_dir.graphql rename to parser/tests/executables/inline_fragment_dir.graphql diff --git a/async-graphql-parser/tests/executables/kitchen-sink.graphql b/parser/tests/executables/kitchen-sink.graphql similarity index 100% rename from async-graphql-parser/tests/executables/kitchen-sink.graphql rename to parser/tests/executables/kitchen-sink.graphql diff --git a/async-graphql-parser/tests/executables/kitchen-sink_canonical.graphql b/parser/tests/executables/kitchen-sink_canonical.graphql similarity index 100% rename from async-graphql-parser/tests/executables/kitchen-sink_canonical.graphql rename to parser/tests/executables/kitchen-sink_canonical.graphql diff --git a/async-graphql-parser/tests/executables/minimal.graphql b/parser/tests/executables/minimal.graphql similarity index 100% rename from async-graphql-parser/tests/executables/minimal.graphql rename to parser/tests/executables/minimal.graphql diff --git a/async-graphql-parser/tests/executables/minimal_mutation.graphql b/parser/tests/executables/minimal_mutation.graphql similarity index 100% rename from async-graphql-parser/tests/executables/minimal_mutation.graphql rename to parser/tests/executables/minimal_mutation.graphql diff --git a/async-graphql-parser/tests/executables/minimal_query.graphql b/parser/tests/executables/minimal_query.graphql similarity index 100% rename from async-graphql-parser/tests/executables/minimal_query.graphql rename to parser/tests/executables/minimal_query.graphql diff --git a/async-graphql-parser/tests/executables/multiline_string.graphql b/parser/tests/executables/multiline_string.graphql similarity index 100% rename from async-graphql-parser/tests/executables/multiline_string.graphql rename to parser/tests/executables/multiline_string.graphql diff --git a/async-graphql-parser/tests/executables/mutation_directive.graphql b/parser/tests/executables/mutation_directive.graphql similarity index 100% rename from async-graphql-parser/tests/executables/mutation_directive.graphql rename to parser/tests/executables/mutation_directive.graphql diff --git a/async-graphql-parser/tests/executables/named_query.graphql b/parser/tests/executables/named_query.graphql similarity index 100% rename from async-graphql-parser/tests/executables/named_query.graphql rename to parser/tests/executables/named_query.graphql diff --git a/async-graphql-parser/tests/executables/nested_selection.graphql b/parser/tests/executables/nested_selection.graphql similarity index 100% rename from async-graphql-parser/tests/executables/nested_selection.graphql rename to parser/tests/executables/nested_selection.graphql diff --git a/async-graphql-parser/tests/executables/query_aliases.graphql b/parser/tests/executables/query_aliases.graphql similarity index 100% rename from async-graphql-parser/tests/executables/query_aliases.graphql rename to parser/tests/executables/query_aliases.graphql diff --git a/async-graphql-parser/tests/executables/query_arguments.graphql b/parser/tests/executables/query_arguments.graphql similarity index 100% rename from async-graphql-parser/tests/executables/query_arguments.graphql rename to parser/tests/executables/query_arguments.graphql diff --git a/async-graphql-parser/tests/executables/query_directive.graphql b/parser/tests/executables/query_directive.graphql similarity index 100% rename from async-graphql-parser/tests/executables/query_directive.graphql rename to parser/tests/executables/query_directive.graphql diff --git a/async-graphql-parser/tests/executables/query_list_argument.graphql b/parser/tests/executables/query_list_argument.graphql similarity index 100% rename from async-graphql-parser/tests/executables/query_list_argument.graphql rename to parser/tests/executables/query_list_argument.graphql diff --git a/async-graphql-parser/tests/executables/query_object_argument.graphql b/parser/tests/executables/query_object_argument.graphql similarity index 100% rename from async-graphql-parser/tests/executables/query_object_argument.graphql rename to parser/tests/executables/query_object_argument.graphql diff --git a/async-graphql-parser/tests/executables/query_var_default_float.graphql b/parser/tests/executables/query_var_default_float.graphql similarity index 100% rename from async-graphql-parser/tests/executables/query_var_default_float.graphql rename to parser/tests/executables/query_var_default_float.graphql diff --git a/async-graphql-parser/tests/executables/query_var_default_list.graphql b/parser/tests/executables/query_var_default_list.graphql similarity index 100% rename from async-graphql-parser/tests/executables/query_var_default_list.graphql rename to parser/tests/executables/query_var_default_list.graphql diff --git a/async-graphql-parser/tests/executables/query_var_default_object.graphql b/parser/tests/executables/query_var_default_object.graphql similarity index 100% rename from async-graphql-parser/tests/executables/query_var_default_object.graphql rename to parser/tests/executables/query_var_default_object.graphql diff --git a/async-graphql-parser/tests/executables/query_var_default_string.graphql b/parser/tests/executables/query_var_default_string.graphql similarity index 100% rename from async-graphql-parser/tests/executables/query_var_default_string.graphql rename to parser/tests/executables/query_var_default_string.graphql diff --git a/async-graphql-parser/tests/executables/query_var_defaults.graphql b/parser/tests/executables/query_var_defaults.graphql similarity index 100% rename from async-graphql-parser/tests/executables/query_var_defaults.graphql rename to parser/tests/executables/query_var_defaults.graphql diff --git a/async-graphql-parser/tests/executables/query_vars.graphql b/parser/tests/executables/query_vars.graphql similarity index 100% rename from async-graphql-parser/tests/executables/query_vars.graphql rename to parser/tests/executables/query_vars.graphql diff --git a/async-graphql-parser/tests/executables/string_literal.graphql b/parser/tests/executables/string_literal.graphql similarity index 100% rename from async-graphql-parser/tests/executables/string_literal.graphql rename to parser/tests/executables/string_literal.graphql diff --git a/async-graphql-parser/tests/executables/subscription_directive.graphql b/parser/tests/executables/subscription_directive.graphql similarity index 100% rename from async-graphql-parser/tests/executables/subscription_directive.graphql rename to parser/tests/executables/subscription_directive.graphql diff --git a/async-graphql-parser/tests/services/directive.graphql b/parser/tests/services/directive.graphql similarity index 100% rename from async-graphql-parser/tests/services/directive.graphql rename to parser/tests/services/directive.graphql diff --git a/async-graphql-parser/tests/services/directive_descriptions.graphql b/parser/tests/services/directive_descriptions.graphql similarity index 100% rename from async-graphql-parser/tests/services/directive_descriptions.graphql rename to parser/tests/services/directive_descriptions.graphql diff --git a/async-graphql-parser/tests/services/directive_descriptions_canonical.graphql b/parser/tests/services/directive_descriptions_canonical.graphql similarity index 100% rename from async-graphql-parser/tests/services/directive_descriptions_canonical.graphql rename to parser/tests/services/directive_descriptions_canonical.graphql diff --git a/async-graphql-parser/tests/services/empty_union.graphql b/parser/tests/services/empty_union.graphql similarity index 100% rename from async-graphql-parser/tests/services/empty_union.graphql rename to parser/tests/services/empty_union.graphql diff --git a/async-graphql-parser/tests/services/enum.graphql b/parser/tests/services/enum.graphql similarity index 100% rename from async-graphql-parser/tests/services/enum.graphql rename to parser/tests/services/enum.graphql diff --git a/async-graphql-parser/tests/services/extend_enum.graphql b/parser/tests/services/extend_enum.graphql similarity index 100% rename from async-graphql-parser/tests/services/extend_enum.graphql rename to parser/tests/services/extend_enum.graphql diff --git a/async-graphql-parser/tests/services/extend_input.graphql b/parser/tests/services/extend_input.graphql similarity index 100% rename from async-graphql-parser/tests/services/extend_input.graphql rename to parser/tests/services/extend_input.graphql diff --git a/async-graphql-parser/tests/services/extend_input_canonical.graphql b/parser/tests/services/extend_input_canonical.graphql similarity index 100% rename from async-graphql-parser/tests/services/extend_input_canonical.graphql rename to parser/tests/services/extend_input_canonical.graphql diff --git a/async-graphql-parser/tests/services/extend_interface.graphql b/parser/tests/services/extend_interface.graphql similarity index 100% rename from async-graphql-parser/tests/services/extend_interface.graphql rename to parser/tests/services/extend_interface.graphql diff --git a/async-graphql-parser/tests/services/extend_object.graphql b/parser/tests/services/extend_object.graphql similarity index 100% rename from async-graphql-parser/tests/services/extend_object.graphql rename to parser/tests/services/extend_object.graphql diff --git a/async-graphql-parser/tests/services/extend_scalar.graphql b/parser/tests/services/extend_scalar.graphql similarity index 100% rename from async-graphql-parser/tests/services/extend_scalar.graphql rename to parser/tests/services/extend_scalar.graphql diff --git a/async-graphql-parser/tests/services/implements.graphql b/parser/tests/services/implements.graphql similarity index 100% rename from async-graphql-parser/tests/services/implements.graphql rename to parser/tests/services/implements.graphql diff --git a/async-graphql-parser/tests/services/implements_amp.graphql b/parser/tests/services/implements_amp.graphql similarity index 100% rename from async-graphql-parser/tests/services/implements_amp.graphql rename to parser/tests/services/implements_amp.graphql diff --git a/async-graphql-parser/tests/services/implements_amp_canonical.graphql b/parser/tests/services/implements_amp_canonical.graphql similarity index 100% rename from async-graphql-parser/tests/services/implements_amp_canonical.graphql rename to parser/tests/services/implements_amp_canonical.graphql diff --git a/async-graphql-parser/tests/services/input_type.graphql b/parser/tests/services/input_type.graphql similarity index 100% rename from async-graphql-parser/tests/services/input_type.graphql rename to parser/tests/services/input_type.graphql diff --git a/async-graphql-parser/tests/services/interface.graphql b/parser/tests/services/interface.graphql similarity index 100% rename from async-graphql-parser/tests/services/interface.graphql rename to parser/tests/services/interface.graphql diff --git a/async-graphql-parser/tests/services/kitchen-sink.graphql b/parser/tests/services/kitchen-sink.graphql similarity index 100% rename from async-graphql-parser/tests/services/kitchen-sink.graphql rename to parser/tests/services/kitchen-sink.graphql diff --git a/async-graphql-parser/tests/services/kitchen-sink_canonical.graphql b/parser/tests/services/kitchen-sink_canonical.graphql similarity index 100% rename from async-graphql-parser/tests/services/kitchen-sink_canonical.graphql rename to parser/tests/services/kitchen-sink_canonical.graphql diff --git a/async-graphql-parser/tests/services/minimal.graphql b/parser/tests/services/minimal.graphql similarity index 100% rename from async-graphql-parser/tests/services/minimal.graphql rename to parser/tests/services/minimal.graphql diff --git a/async-graphql-parser/tests/services/minimal_type.graphql b/parser/tests/services/minimal_type.graphql similarity index 100% rename from async-graphql-parser/tests/services/minimal_type.graphql rename to parser/tests/services/minimal_type.graphql diff --git a/async-graphql-parser/tests/services/scalar_type.graphql b/parser/tests/services/scalar_type.graphql similarity index 100% rename from async-graphql-parser/tests/services/scalar_type.graphql rename to parser/tests/services/scalar_type.graphql diff --git a/async-graphql-parser/tests/services/simple_object.graphql b/parser/tests/services/simple_object.graphql similarity index 100% rename from async-graphql-parser/tests/services/simple_object.graphql rename to parser/tests/services/simple_object.graphql diff --git a/async-graphql-parser/tests/services/union.graphql b/parser/tests/services/union.graphql similarity index 100% rename from async-graphql-parser/tests/services/union.graphql rename to parser/tests/services/union.graphql diff --git a/async-graphql-parser/tests/services/union_extension.graphql b/parser/tests/services/union_extension.graphql similarity index 100% rename from async-graphql-parser/tests/services/union_extension.graphql rename to parser/tests/services/union_extension.graphql