Remove prefixes and add integrations subdirectory #259

This commit is contained in:
Sunli 2020-09-09 10:08:17 +08:00
parent 83d2895e40
commit 668b1fea94
93 changed files with 24 additions and 21 deletions

View File

@ -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

View File

@ -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",
]

View File

@ -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 }

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"