forked from async-graphql/async-graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
95 lines (87 loc) · 2.63 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[package]
name = "async-graphql"
version = "2.4.3"
authors = ["sunli <[email protected]>", "Koxiaet"]
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]
default = [
"apollo_persisted_queries",
"apollo_tracing",
"bson",
"chrono",
"chrono-tz",
"log",
"multipart",
"string_number",
"tracing",
"unblock",
"url",
"uuid",
"dataloader"
]
apollo_tracing = ["chrono"]
apollo_persisted_queries = ["lru", "sha2"]
multipart = ["multer", "tempfile"]
unblock = ["blocking"]
string_number = ["num-traits"]
dataloader = ["futures-timer", "futures-channel"]
# Used for doc(cfg())
nightly = []
[dependencies]
async-graphql-derive = { path = "derive", version = "=2.4.3" }
async-graphql-value = { path = "value", version = "=2.0.5" }
async-graphql-parser = { path = "parser", version = "=2.1.2" }
async-stream = "0.3"
async-trait = "0.1.41"
fnv = "1.0.6"
futures-util = { version = "0.3.8", default-features = false, features = ["io"] }
indexmap = "1.6.0"
once_cell = "1.3.1"
pin-project-lite = "0.2.0"
regex = "1.4.1"
serde = { version = "1.0.117", features = ["derive"] }
serde_json = "1.0.48"
spin = "0.7.0"
thiserror = "1.0.21"
static_assertions = "1.1.0"
# Feature optional dependencies
bson = { version = "1.0.0", optional = true }
chrono = { version = "0.4.15", optional = true }
chrono-tz = { version = "0.5.1", optional = true }
log = { version = "0.4.11", optional = true }
tracing = { version = "0.1.21", optional = true }
url = { version = "2.1.1", optional = true }
uuid = { version = "0.8.1", optional = true, features = ["v4", "serde"] }
# Non-feature optional dependencies
blocking = { version = "1.0.0", optional = true }
lru = { version = "0.6.0", optional = true }
multer = { version = "1.2.2", optional = true }
num-traits = { version = "0.2.12", optional = true }
sha2 = { version = "0.9.1", optional = true }
tempfile = { version = "3.1.0", optional = true }
futures-timer = { version = "3.0.2", optional = true }
futures-channel = { version = "0.3.8", optional = true }
[dev-dependencies]
async-std = { version = "1.6.5", features = ["attributes"] }
futures-channel = "0.3.8"
[package.metadata.docs.rs]
features = ["nightly"]
[workspace]
members = [
"value",
"parser",
"derive",
"integrations/actix-web",
"integrations/rocket",
"integrations/tide",
"integrations/warp",
"benchmark",
]