-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
168 lines (157 loc) · 4.99 KB
/
Cargo.toml
File metadata and controls
168 lines (157 loc) · 4.99 KB
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
[package]
authors = [
"sunli <scott_s829@163.com>",
"Koxiaet",
"Abid Omar <opensource@codeinput.com>",
]
categories = ["network-programming", "asynchronous"]
description = "A GraphQL server library implemented in Rust"
documentation = "https://docs.rs/async-graphql-wasm/"
edition = "2024"
rust-version = "1.86.0"
homepage = "https://github.com/code-input/async-graphql-wasm"
keywords = ["futures", "async", "graphql", "wasm"]
license = "MIT OR Apache-2.0"
name = "async-graphql-wasm"
readme = "README.md"
repository = "https://github.com/code-input/async-graphql-wasm"
version = "7.0.17"
[features]
apollo_persisted_queries = ["lru", "sha2"]
apollo_tracing = ["chrono"]
email-validator = ["fast_chemail"]
cbor = ["serde_cbor"]
chrono-duration = ["chrono", "iso8601"]
dataloader = ["futures-channel", "lru"]
decimal = ["rust_decimal"]
default = ["email-validator", "tempfile", "playground", "graphiql"]
password-strength-validator = ["zxcvbn"]
string_number = []
tokio-sync = ["tokio"]
tracing = ["tracinglib", "tracing-futures"]
unblock = ["blocking"]
dynamic-schema = []
graphiql = ["handlebars"]
altair = ["handlebars", "schemars"]
playground = []
raw_value = ["async-graphql-value/raw_value"]
uuid-validator = ["uuid"]
boxed-trait = ["async-graphql-derive/boxed-trait"]
custom-error-conversion = []
[[bench]]
harness = false
name = "static_schema"
[dependencies]
async-graphql-derive.workspace = true
async-graphql-parser.workspace = true
async-graphql-value.workspace = true
async-stream = "0.3.5"
async-trait.workspace = true
bytes.workspace = true
fnv = "1.0.7"
futures-util = { workspace = true, features = [
"std",
"io",
"sink",
"async-await",
"async-await-macro",
] }
indexmap.workspace = true
mime = "0.3.17"
multer = "3.0.0"
num-traits = "0.2.18"
pin-project-lite = "0.2.14"
regex = "1.10.4"
serde.workspace = true
serde_json.workspace = true
static_assertions_next = "1.1.2"
thiserror.workspace = true
base64 = "0.22.0"
serde_urlencoded = "0.7.1"
http.workspace = true
futures-timer = "3.0.3"
web-time = "1.1.0"
# Feature optional dependencies
bson = { version = "2.9.0", optional = true, features = [
"chrono-0_4",
"uuid-1",
] }
chrono = { version = "0.4.37", optional = true, default-features = false, features = [
"clock",
"std",
] }
chrono-tz = { version = "0.10.0", optional = true }
fast_chemail = { version = "0.9.6", optional = true }
hashbrown = { version = "0.14.5", optional = true }
iso8601 = { version = "0.6.1", optional = true }
log = { version = "0.4.21", optional = true }
opentelemetry = { version = "0.27.0", optional = true, default-features = false, features = [
"trace",
] }
rust_decimal = { version = "1.35.0", optional = true, default-features = false }
bigdecimal = { version = ">=0.3.0, <0.5.0", optional = true, default-features = false }
secrecy = { version = "0.10.3", optional = true }
smol_str = { version = "0.3.1", optional = true }
time = { version = "0.3.36", optional = true, features = [
"parsing",
"formatting",
"macros",
] }
tokio = { version = "1.37.0", features = ["sync"], optional = true }
tracing-futures = { version = "0.2.5", optional = true, features = [
"std-future",
"futures-03",
] }
tracinglib = { version = "0.1.40", optional = true, package = "tracing" }
url = { version = "2.5.0", optional = true }
uuid = { version = "1.8.0", optional = true, features = ["v4", "serde"] }
tempfile = { version = "3.10.1", optional = true }
# Non-feature optional dependencies
blocking = { version = "1.6.1", optional = true }
futures-channel = { version = "0.3.30", optional = true }
lru = { version = "0.12.3", optional = true }
serde_cbor = { version = "0.11.2", optional = true }
sha2 = { version = "0.10.8", optional = true }
zxcvbn = { version = "2.2.2", optional = true }
handlebars = { version = "5.1.2", optional = true }
schemars = { version = "0.8.21", optional = true }
[dev-dependencies]
futures-channel = "0.3.30"
tokio = { version = "1.37.0", features = [
"macros",
"rt-multi-thread",
"sync",
"time",
] }
criterion = { version = "0.5.1", features = ["html_reports", "async_tokio"] }
slab = "0.4.9"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[workspace]
resolver = "2"
members = [
"value",
"parser",
"derive",
"integrations/poem",
"integrations/actix-web",
"integrations/rocket",
"integrations/warp",
"integrations/axum",
"integrations/tide",
]
[workspace.dependencies]
async-graphql-wasm = { path = ".", version = "7.0.17", default-features = false }
async-graphql-derive = { path = "derive", version = "7.0.17" }
async-graphql-parser = { path = "parser", version = "7.0.17" }
async-graphql-value = { path = "value", version = "7.0.17" }
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.115"
indexmap = { version = "2", features = ["serde"] }
bytes = { version = "1.6.0", features = ["serde"] }
thiserror = "1.0.58"
async-trait = "0.1.79"
futures-util = { version = "0.3.30", default-features = false }
tokio-util = { version = "0.7.10", default-features = false }
http = { package = "http", version = "1.1.0" }