Update dependencies and make examples submodule
This commit is contained in:
parent
5c47f1ec57
commit
664f077be3
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "examples"]
|
||||||
|
path = examples
|
||||||
|
url = https://github.com/async-graphql/examples
|
20
Cargo.toml
20
Cargo.toml
|
@ -29,18 +29,18 @@ async-graphql-value = { path = "value", version = "=2.0.3" }
|
||||||
async-graphql-parser = { path = "parser", version = "=2.0.3" }
|
async-graphql-parser = { path = "parser", version = "=2.0.3" }
|
||||||
|
|
||||||
async-stream = "0.3"
|
async-stream = "0.3"
|
||||||
async-trait = "0.1.30"
|
async-trait = "0.1.41"
|
||||||
fnv = "1.0.6"
|
fnv = "1.0.6"
|
||||||
futures = "0.3.5"
|
futures = "0.3.6"
|
||||||
indexmap = "1.3.2"
|
indexmap = "1.6.0"
|
||||||
itertools = "0.9.0"
|
itertools = "0.9.0"
|
||||||
once_cell = "1.3.1"
|
once_cell = "1.3.1"
|
||||||
pin-project-lite = "0.1.7"
|
pin-project-lite = "0.1.10"
|
||||||
regex = "1.3.5"
|
regex = "1.4.1"
|
||||||
serde = { version = "1.0.104", features = ["derive"] }
|
serde = { version = "1.0.117", features = ["derive"] }
|
||||||
serde_json = "1.0.48"
|
serde_json = "1.0.48"
|
||||||
spin = "0.5.2"
|
spin = "0.6.0"
|
||||||
thiserror = "1.0.11"
|
thiserror = "1.0.21"
|
||||||
static_assertions = "1.1.0"
|
static_assertions = "1.1.0"
|
||||||
|
|
||||||
# Feature optional dependencies
|
# Feature optional dependencies
|
||||||
|
@ -49,7 +49,7 @@ bson = { version = "1.0.0", optional = true }
|
||||||
chrono = { version = "0.4.15", optional = true }
|
chrono = { version = "0.4.15", optional = true }
|
||||||
chrono-tz = { version = "0.5.1", optional = true }
|
chrono-tz = { version = "0.5.1", optional = true }
|
||||||
log = { version = "0.4.11", optional = true }
|
log = { version = "0.4.11", optional = true }
|
||||||
tracing = { version = "0.1.19", optional = true }
|
tracing = { version = "0.1.21", optional = true }
|
||||||
url = { version = "2.1.1", optional = true }
|
url = { version = "2.1.1", optional = true }
|
||||||
num-traits = { version = "0.2.12", optional = true }
|
num-traits = { version = "0.2.12", optional = true }
|
||||||
lru = { version = "0.6.0", optional = true }
|
lru = { version = "0.6.0", optional = true }
|
||||||
|
@ -60,7 +60,7 @@ tempfile = { version = "3.1.0", optional = true }
|
||||||
blocking = { version = "1.0.0", optional = true }
|
blocking = { version = "1.0.0", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
async-std = { version = "1.5.0", features = ["attributes"] }
|
async-std = { version = "1.6.5", features = ["attributes"] }
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
features = ["nightly"]
|
features = ["nightly"]
|
||||||
|
|
|
@ -5,8 +5,8 @@ authors = ["sunli <scott_s829@163.com>", "Koxiaet"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
async-std = { version = "1.5.0", features = ["attributes"] }
|
async-std = { version = "1.6.5", features = ["attributes"] }
|
||||||
futures = "0.3.4"
|
futures = "0.3.6"
|
||||||
serde_json = "*"
|
serde_json = "*"
|
||||||
async-graphql-parser = { path = "../parser" }
|
async-graphql-parser = { path = "../parser" }
|
||||||
async-graphql = { path = ".." }
|
async-graphql = { path = ".." }
|
||||||
|
|
|
@ -18,7 +18,7 @@ proc-macro = true
|
||||||
[dependencies]
|
[dependencies]
|
||||||
async-graphql-parser = { path = "../parser", version = "=2.0.3" }
|
async-graphql-parser = { path = "../parser", version = "=2.0.3" }
|
||||||
proc-macro2 = "1.0.6"
|
proc-macro2 = "1.0.6"
|
||||||
syn = { version = "1.0.20", features = ["full", "extra-traits", "visit-mut"] }
|
syn = { version = "1.0.44", features = ["full", "extra-traits", "visit-mut"] }
|
||||||
quote = "1.0.3"
|
quote = "1.0.3"
|
||||||
Inflector = "0.11.4"
|
Inflector = "0.11.4"
|
||||||
proc-macro-crate = "0.1.4"
|
proc-macro-crate = "0.1.4"
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit cb3360847366d2fd70a33eb5f9df60e90e8979da
|
|
@ -17,7 +17,7 @@ async-graphql = { path = "../..", version = "=2.0.3" }
|
||||||
|
|
||||||
actix = "0.10.0"
|
actix = "0.10.0"
|
||||||
actix-http = "2.0.0"
|
actix-http = "2.0.0"
|
||||||
actix-web = { version = "3.0.2", default-features = false }
|
actix-web = { version = "3.1.0", default-features = false }
|
||||||
actix-web-actors = "3.0.0"
|
actix-web-actors = "3.0.0"
|
||||||
async-channel = "1.5.1"
|
async-channel = "1.5.1"
|
||||||
futures-util = { version = "0.3.6", default-features = false }
|
futures-util = { version = "0.3.6", default-features = false }
|
||||||
|
|
|
@ -5,7 +5,7 @@ authors = ["Daniel Wiesenberg <daniel@simplificAR.io>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
description = "async-graphql for Rocket.rs"
|
description = "async-graphql for Rocket.rs"
|
||||||
# Waiting for Rocket 0.5 release.
|
# Waiting for Rocket 0.5 release.
|
||||||
#publish = true
|
publish = false
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
documentation = "https://docs.rs/async-graphql/"
|
documentation = "https://docs.rs/async-graphql/"
|
||||||
homepage = "https://github.com/async-graphql/async-graphql"
|
homepage = "https://github.com/async-graphql/async-graphql"
|
||||||
|
|
|
@ -28,8 +28,6 @@ use query_deserializer::QueryDeserializer;
|
||||||
|
|
||||||
mod query_deserializer;
|
mod query_deserializer;
|
||||||
|
|
||||||
pub use rocket;
|
|
||||||
|
|
||||||
/// A batch request which can be extracted from a request's body.
|
/// A batch request which can be extracted from a request's body.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
|
|
|
@ -20,5 +20,5 @@ tide = { version = "0.13.0", default-features = false, features = ["h1-server"]
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
# Surf lacks multipart support
|
# Surf lacks multipart support
|
||||||
reqwest = { version = "0.10.8", default-features = false, features = ["json"] }
|
reqwest = { version = "0.10.8", default-features = false, features = ["json"] }
|
||||||
tokio = { version = "0.2.22", default-features = false, features = ["rt-threaded", "macros"] }
|
tokio = { version = "0.3.0", default-features = false, features = ["macros"] }
|
||||||
serde_json = "1.0.59"
|
serde_json = "1.0.59"
|
||||||
|
|
|
@ -19,4 +19,4 @@ futures-util = { version = "0.3.6", default-features = false }
|
||||||
serde_json = "1.0.59"
|
serde_json = "1.0.59"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tokio = { version = "0.2", default-features = false, features = ["macros"] }
|
tokio = { version = "0.3.0", default-features = false, features = ["macros"] }
|
||||||
|
|
Loading…
Reference in New Issue