2020-06-03 06:51:16 +00:00
|
|
|
[package]
|
2020-09-18 12:36:05 +00:00
|
|
|
authors = ["sunli <scott_s829@163.com>", "Koxiaet"]
|
2022-05-14 08:46:57 +00:00
|
|
|
categories = ["network-programming", "asynchronous"]
|
2020-06-03 06:51:16 +00:00
|
|
|
description = "A GraphQL server library implemented in Rust"
|
|
|
|
documentation = "https://docs.rs/async-graphql/"
|
2022-05-14 08:46:57 +00:00
|
|
|
edition = "2021"
|
2020-06-03 06:51:16 +00:00
|
|
|
homepage = "https://github.com/async-graphql/async-graphql"
|
|
|
|
keywords = ["futures", "async", "graphql"]
|
2022-05-14 08:46:57 +00:00
|
|
|
license = "MIT/Apache-2.0"
|
|
|
|
name = "async-graphql"
|
2020-06-03 06:51:16 +00:00
|
|
|
readme = "README.md"
|
2022-05-14 08:46:57 +00:00
|
|
|
repository = "https://github.com/async-graphql/async-graphql"
|
2022-05-24 12:12:07 +00:00
|
|
|
version = "4.0.1"
|
2020-06-03 06:51:16 +00:00
|
|
|
|
|
|
|
[features]
|
2020-12-17 02:05:32 +00:00
|
|
|
apollo_persisted_queries = ["lru", "sha2"]
|
2022-05-14 08:46:57 +00:00
|
|
|
apollo_tracing = ["chrono"]
|
2021-09-02 11:39:45 +00:00
|
|
|
cbor = ["serde_cbor"]
|
2021-11-02 14:49:27 +00:00
|
|
|
chrono-duration = ["chrono", "iso8601-duration"]
|
2022-05-14 08:46:57 +00:00
|
|
|
dataloader = ["futures-timer", "futures-channel", "lru"]
|
|
|
|
decimal = ["rust_decimal"]
|
|
|
|
default = []
|
2021-12-30 05:53:22 +00:00
|
|
|
password-strength-validator = ["zxcvbn"]
|
2022-05-14 08:46:57 +00:00
|
|
|
string_number = []
|
2022-04-28 04:59:45 +00:00
|
|
|
tokio-sync = ["tokio"]
|
2022-05-14 08:46:57 +00:00
|
|
|
tracing = ["tracinglib", "tracing-futures"]
|
|
|
|
unblock = ["blocking"]
|
2020-06-03 06:51:16 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-05-24 12:12:07 +00:00
|
|
|
async-graphql-derive = { path = "derive", version = "4.0.1" }
|
|
|
|
async-graphql-parser = { path = "parser", version = "4.0.1" }
|
|
|
|
async-graphql-value = { path = "value", version = "4.0.1" }
|
2020-09-09 16:03:33 +00:00
|
|
|
|
2021-03-24 04:25:03 +00:00
|
|
|
async-stream = "0.3.0"
|
|
|
|
async-trait = "0.1.48"
|
2022-05-14 08:46:57 +00:00
|
|
|
bytes = { version = "1.0.1", features = ["serde"] }
|
|
|
|
fast_chemail = "0.9.6"
|
2021-03-24 04:25:03 +00:00
|
|
|
fnv = "1.0.7"
|
2022-05-03 07:52:50 +00:00
|
|
|
futures-util = { version = "0.3.0", default-features = false, features = [
|
2022-05-14 08:46:57 +00:00
|
|
|
"io",
|
|
|
|
"sink",
|
2022-05-03 07:52:50 +00:00
|
|
|
] }
|
2022-05-14 08:46:57 +00:00
|
|
|
http = "0.2.3"
|
2021-03-24 04:25:03 +00:00
|
|
|
indexmap = "1.6.2"
|
2022-05-14 08:46:57 +00:00
|
|
|
mime = "0.3.15"
|
|
|
|
multer = "2.0.0"
|
|
|
|
num-traits = "0.2.14"
|
2021-03-24 04:25:03 +00:00
|
|
|
once_cell = "1.7.2"
|
|
|
|
pin-project-lite = "0.2.6"
|
2022-03-10 12:24:07 +00:00
|
|
|
regex = "1.5.5"
|
2021-03-24 04:25:03 +00:00
|
|
|
serde = { version = "1.0.125", features = ["derive"] }
|
|
|
|
serde_json = "1.0.64"
|
2020-09-27 07:32:55 +00:00
|
|
|
static_assertions = "1.1.0"
|
2021-03-24 04:25:03 +00:00
|
|
|
tempfile = "3.2.0"
|
2022-05-14 08:46:57 +00:00
|
|
|
thiserror = "1.0.24"
|
2021-09-02 11:39:45 +00:00
|
|
|
|
2020-09-14 18:38:41 +00:00
|
|
|
# Feature optional dependencies
|
2021-09-09 07:07:29 +00:00
|
|
|
bson = { version = "2.0.0", optional = true, features = ["chrono-0_4"] }
|
2022-05-03 07:52:50 +00:00
|
|
|
chrono = { version = "0.4.19", optional = true, default-features = false, features = [
|
2022-05-14 08:46:57 +00:00
|
|
|
"clock",
|
|
|
|
"std",
|
2022-05-03 07:52:50 +00:00
|
|
|
] }
|
2022-02-18 19:26:32 +00:00
|
|
|
chrono-tz = { version = "0.6.1", optional = true }
|
2022-01-19 12:40:30 +00:00
|
|
|
hashbrown = { version = "0.12.0", optional = true }
|
2021-11-02 14:49:27 +00:00
|
|
|
iso8601-duration = { version = "0.1.0", optional = true }
|
2022-04-27 23:36:20 +00:00
|
|
|
log = { version = "0.4.16", optional = true }
|
2022-05-03 07:52:50 +00:00
|
|
|
opentelemetry = { version = "0.17.0", optional = true, default-features = false, features = [
|
2022-05-14 08:46:57 +00:00
|
|
|
"trace",
|
2022-05-03 07:52:50 +00:00
|
|
|
] }
|
2021-07-01 20:52:37 +00:00
|
|
|
rust_decimal = { version = "1.14.3", optional = true }
|
2022-05-20 14:05:10 +00:00
|
|
|
bigdecimal = { version = "0.3.0", optional = true }
|
2022-05-14 08:46:57 +00:00
|
|
|
secrecy = { version = "0.8.0", optional = true }
|
2021-11-29 20:10:32 +00:00
|
|
|
smol_str = { version = "0.1.21", optional = true }
|
2022-05-03 07:52:50 +00:00
|
|
|
time = { version = "0.3.5", optional = true, features = [
|
2022-05-14 08:46:57 +00:00
|
|
|
"parsing",
|
|
|
|
"formatting",
|
|
|
|
"macros",
|
2022-05-03 07:52:50 +00:00
|
|
|
] }
|
2022-04-19 17:57:57 +00:00
|
|
|
tokio = { version = "1.17.0", features = ["sync"], optional = true }
|
2022-05-14 08:46:57 +00:00
|
|
|
tracing-futures = { version = "0.2.5", optional = true, features = [
|
|
|
|
"std-future",
|
|
|
|
"futures-03",
|
|
|
|
] }
|
|
|
|
tracinglib = { version = "0.1.25", optional = true, package = "tracing" }
|
|
|
|
url = { version = "2.2.1", optional = true }
|
|
|
|
uuid = { version = "1.0.0", optional = true, features = ["v4", "serde"] }
|
|
|
|
uuid08 = { version = "0.8", package = "uuid", optional = true, features = [
|
|
|
|
"v4",
|
|
|
|
"serde",
|
|
|
|
] }
|
2021-09-02 11:39:45 +00:00
|
|
|
|
2020-10-16 06:49:22 +00:00
|
|
|
# Non-feature optional dependencies
|
2021-03-24 04:25:03 +00:00
|
|
|
blocking = { version = "1.0.2", optional = true }
|
|
|
|
futures-channel = { version = "0.3.13", optional = true }
|
2022-05-14 08:46:57 +00:00
|
|
|
futures-timer = { version = "3.0.2", optional = true }
|
|
|
|
lru = { version = "0.7.1", optional = true }
|
2021-09-02 11:39:45 +00:00
|
|
|
serde_cbor = { version = "0.11.1", optional = true }
|
2022-05-14 08:46:57 +00:00
|
|
|
sha2 = { version = "0.10.2", optional = true }
|
2022-01-05 05:03:42 +00:00
|
|
|
zxcvbn = { version = "2.1.2", optional = true }
|
2020-06-03 06:51:16 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-05-14 08:46:57 +00:00
|
|
|
futures-channel = "0.3.13"
|
2022-05-03 07:52:50 +00:00
|
|
|
tokio = { version = "1.4.0", features = [
|
2022-05-14 08:46:57 +00:00
|
|
|
"macros",
|
|
|
|
"rt-multi-thread",
|
|
|
|
"sync",
|
|
|
|
"time",
|
2022-05-03 07:52:50 +00:00
|
|
|
] }
|
2020-06-03 06:51:16 +00:00
|
|
|
|
2020-09-15 18:32:13 +00:00
|
|
|
[package.metadata.docs.rs]
|
2021-03-22 02:39:17 +00:00
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
2020-09-15 18:32:13 +00:00
|
|
|
|
2020-06-03 06:51:16 +00:00
|
|
|
[workspace]
|
|
|
|
members = [
|
2022-05-14 08:46:57 +00:00
|
|
|
"value",
|
|
|
|
"parser",
|
|
|
|
"derive",
|
|
|
|
"integrations/poem",
|
|
|
|
"integrations/actix-web",
|
|
|
|
"integrations/rocket",
|
|
|
|
"integrations/warp",
|
|
|
|
"integrations/axum",
|
|
|
|
"integrations/tide",
|
2020-06-02 01:01:37 +00:00
|
|
|
]
|