2020-06-03 06:51:16 +00:00
|
|
|
[package]
|
|
|
|
name = "async-graphql"
|
2021-01-01 04:16:51 +00:00
|
|
|
version = "2.4.4"
|
2020-09-18 12:36:05 +00:00
|
|
|
authors = ["sunli <scott_s829@163.com>", "Koxiaet"]
|
2020-06-03 06:51:16 +00:00
|
|
|
edition = "2018"
|
|
|
|
description = "A GraphQL server library implemented in Rust"
|
|
|
|
license = "MIT/Apache-2.0"
|
|
|
|
documentation = "https://docs.rs/async-graphql/"
|
|
|
|
homepage = "https://github.com/async-graphql/async-graphql"
|
|
|
|
repository = "https://github.com/async-graphql/async-graphql"
|
|
|
|
keywords = ["futures", "async", "graphql"]
|
|
|
|
categories = ["network-programming", "asynchronous"]
|
|
|
|
readme = "README.md"
|
|
|
|
|
|
|
|
[features]
|
2020-10-16 06:49:22 +00:00
|
|
|
default = [
|
|
|
|
"apollo_persisted_queries",
|
|
|
|
"apollo_tracing",
|
|
|
|
"bson",
|
|
|
|
"chrono",
|
|
|
|
"chrono-tz",
|
|
|
|
"log",
|
|
|
|
"multipart",
|
|
|
|
"string_number",
|
|
|
|
"tracing",
|
|
|
|
"unblock",
|
|
|
|
"url",
|
|
|
|
"uuid",
|
2020-12-20 13:15:56 +00:00
|
|
|
"dataloader"
|
2020-10-16 06:49:22 +00:00
|
|
|
]
|
2020-09-14 18:38:41 +00:00
|
|
|
apollo_tracing = ["chrono"]
|
2020-12-17 02:05:32 +00:00
|
|
|
apollo_persisted_queries = ["lru", "sha2"]
|
2020-11-30 05:43:17 +00:00
|
|
|
multipart = ["multer", "tempfile"]
|
2020-09-18 06:32:00 +00:00
|
|
|
unblock = ["blocking"]
|
2020-09-26 01:22:54 +00:00
|
|
|
string_number = ["num-traits"]
|
2020-12-22 06:58:21 +00:00
|
|
|
dataloader = ["futures-timer", "futures-channel"]
|
2020-09-15 18:32:13 +00:00
|
|
|
# Used for doc(cfg())
|
|
|
|
nightly = []
|
2020-06-03 06:51:16 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2020-12-28 11:41:10 +00:00
|
|
|
async-graphql-derive = { path = "derive", version = "=2.4.3" }
|
2020-10-19 02:01:26 +00:00
|
|
|
async-graphql-value = { path = "value", version = "=2.0.5" }
|
2020-11-14 00:43:25 +00:00
|
|
|
async-graphql-parser = { path = "parser", version = "=2.1.2" }
|
2020-09-09 16:03:33 +00:00
|
|
|
|
2020-09-10 23:58:02 +00:00
|
|
|
async-stream = "0.3"
|
2020-10-15 19:48:06 +00:00
|
|
|
async-trait = "0.1.41"
|
2020-06-03 06:51:16 +00:00
|
|
|
fnv = "1.0.6"
|
2020-11-30 05:08:27 +00:00
|
|
|
futures-util = { version = "0.3.8", default-features = false, features = ["io"] }
|
2020-10-15 19:48:06 +00:00
|
|
|
indexmap = "1.6.0"
|
2020-09-09 16:03:33 +00:00
|
|
|
once_cell = "1.3.1"
|
2020-11-30 05:08:27 +00:00
|
|
|
pin-project-lite = "0.2.0"
|
2020-10-15 19:48:06 +00:00
|
|
|
regex = "1.4.1"
|
|
|
|
serde = { version = "1.0.117", features = ["derive"] }
|
2020-09-09 16:03:33 +00:00
|
|
|
serde_json = "1.0.48"
|
2020-11-30 05:08:27 +00:00
|
|
|
spin = "0.7.0"
|
2020-10-15 19:48:06 +00:00
|
|
|
thiserror = "1.0.21"
|
2020-09-27 07:32:55 +00:00
|
|
|
static_assertions = "1.1.0"
|
2020-09-09 16:03:33 +00:00
|
|
|
|
2020-09-14 18:38:41 +00:00
|
|
|
# Feature optional dependencies
|
2020-09-09 16:03:33 +00:00
|
|
|
bson = { version = "1.0.0", optional = true }
|
2020-09-14 18:38:41 +00:00
|
|
|
chrono = { version = "0.4.15", optional = true }
|
2020-06-03 06:51:16 +00:00
|
|
|
chrono-tz = { version = "0.5.1", optional = true }
|
2020-09-14 18:38:41 +00:00
|
|
|
log = { version = "0.4.11", optional = true }
|
2020-10-15 19:48:06 +00:00
|
|
|
tracing = { version = "0.1.21", optional = true }
|
2020-09-14 18:38:41 +00:00
|
|
|
url = { version = "2.1.1", optional = true }
|
2020-10-16 06:49:22 +00:00
|
|
|
uuid = { version = "0.8.1", optional = true, features = ["v4", "serde"] }
|
2020-09-02 02:47:18 +00:00
|
|
|
|
2020-10-16 06:49:22 +00:00
|
|
|
# Non-feature optional dependencies
|
|
|
|
blocking = { version = "1.0.0", optional = true }
|
|
|
|
lru = { version = "0.6.0", optional = true }
|
2020-09-14 18:38:41 +00:00
|
|
|
multer = { version = "1.2.2", optional = true }
|
2020-10-16 06:49:22 +00:00
|
|
|
num-traits = { version = "0.2.12", optional = true }
|
2020-10-31 20:40:50 +00:00
|
|
|
sha2 = { version = "0.9.1", optional = true }
|
2020-09-14 18:38:41 +00:00
|
|
|
tempfile = { version = "3.1.0", optional = true }
|
2020-12-20 13:15:56 +00:00
|
|
|
futures-timer = { version = "3.0.2", optional = true }
|
|
|
|
futures-channel = { version = "0.3.8", optional = true }
|
2020-06-03 06:51:16 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-10-15 19:48:06 +00:00
|
|
|
async-std = { version = "1.6.5", features = ["attributes"] }
|
2020-12-17 02:05:32 +00:00
|
|
|
futures-channel = "0.3.8"
|
2020-06-03 06:51:16 +00:00
|
|
|
|
2020-09-15 18:32:13 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["nightly"]
|
|
|
|
|
2020-06-03 06:51:16 +00:00
|
|
|
[workspace]
|
|
|
|
members = [
|
2020-10-11 12:24:31 +00:00
|
|
|
"value",
|
2020-09-09 02:08:17 +00:00
|
|
|
"parser",
|
|
|
|
"derive",
|
|
|
|
"integrations/actix-web",
|
|
|
|
"integrations/rocket",
|
2020-10-17 14:27:03 +00:00
|
|
|
"integrations/tide",
|
|
|
|
"integrations/warp",
|
2020-06-03 06:51:16 +00:00
|
|
|
"benchmark",
|
2020-06-02 01:01:37 +00:00
|
|
|
]
|