async-graphql/Cargo.toml

91 lines
3.0 KiB
TOML
Raw Normal View History

[package]
name = "async-graphql"
version = "2.10.3"
2020-09-18 12:36:05 +00:00
authors = ["sunli <scott_s829@163.com>", "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 = []
2020-09-14 18:38:41 +00:00
apollo_tracing = ["chrono"]
apollo_persisted_queries = ["lru", "sha2"]
unblock = ["blocking"]
2020-09-26 01:22:54 +00:00
string_number = ["num-traits"]
2021-04-01 07:46:46 +00:00
dataloader = ["futures-timer", "futures-channel", "lru"]
2021-04-04 04:05:54 +00:00
tracing = ["tracinglib", "tracing-futures"]
2021-07-01 20:52:37 +00:00
decimal = ["rust_decimal"]
2021-09-02 11:39:45 +00:00
cbor = ["serde_cbor"]
[dependencies]
async-graphql-derive = { path = "derive", version = "=2.10.3" }
async-graphql-value = { path = "value", version = "=2.10.3" }
async-graphql-parser = { path = "parser", version = "=2.10.3" }
2021-03-24 04:25:03 +00:00
async-stream = "0.3.0"
async-trait = "0.1.48"
fnv = "1.0.7"
2021-09-01 00:38:49 +00:00
futures-util = { version = "0.3.13", default-features = false, features = ["io", "sink"] }
2021-03-24 04:25:03 +00:00
indexmap = "1.6.2"
once_cell = "1.7.2"
pin-project-lite = "0.2.6"
regex = "1.4.5"
serde = { version = "1.0.125", features = ["derive"] }
serde_json = "1.0.64"
thiserror = "1.0.24"
static_assertions = "1.1.0"
http = "0.2.3"
2021-06-07 06:07:53 +00:00
multer = "2.0.0"
2021-03-24 04:25:03 +00:00
tempfile = "3.2.0"
bytes = { version = "1.0.1", features = ["serde"] }
2021-09-02 11:39:45 +00:00
mime = "0.3.15"
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"] }
2021-03-24 04:25:03 +00:00
chrono = { version = "0.4.19", optional = true }
chrono-tz = { version = "0.5.3", optional = true }
log = { version = "0.4.14", optional = true }
2021-05-11 00:48:54 +00:00
secrecy = { version = "0.7.0", optional = true }
2021-04-04 04:05:54 +00:00
tracinglib = { version = "0.1.25", optional = true, package = "tracing" }
tracing-futures = { version = "0.2.5", optional = true, features = ["std-future", "futures-03"] }
2021-08-07 20:07:38 +00:00
opentelemetry = { version = "0.16.0", optional = true, default-features = false, features = ["trace"] }
2021-03-24 04:25:03 +00:00
url = { version = "2.2.1", optional = true }
uuid = { version = "0.8.2", optional = true, features = ["v4", "serde"] }
2021-07-01 20:52:37 +00:00
rust_decimal = { version = "1.14.3", optional = true }
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 }
lru = { version = "0.6.5", optional = true }
num-traits = { version = "0.2.14", optional = true }
sha2 = { version = "0.9.3", optional = true }
2020-12-20 13:15:56 +00:00
futures-timer = { version = "3.0.2", optional = true }
2021-03-24 04:25:03 +00:00
futures-channel = { version = "0.3.13", optional = true }
2021-09-02 11:39:45 +00:00
serde_cbor = { version = "0.11.1", optional = true }
[dev-dependencies]
2021-03-22 02:55:28 +00:00
tokio = { version = "1.4.0", features = ["macros", "rt-multi-thread", "sync", "time"] }
2021-03-24 04:25:03 +00:00
futures-channel = "0.3.13"
2020-09-15 18:32:13 +00:00
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
2020-09-15 18:32:13 +00:00
[workspace]
members = [
"value",
"parser",
"derive",
2021-08-23 15:16:31 +00:00
"integrations/poem",
"integrations/actix-web",
"integrations/rocket",
2020-10-17 14:27:03 +00:00
"integrations/tide",
"integrations/warp",
2021-08-01 09:44:28 +00:00
"integrations/axum",
]