async-graphql/Cargo.toml

65 lines
1.9 KiB
TOML
Raw Normal View History

[package]
name = "async-graphql"
2020-09-15 11:50:14 +00:00
version = "2.0.0-alpha.8"
authors = ["sunli <scott_s829@163.com>"]
edition = "2018"
description = "A GraphQL server library implemented in Rust"
publish = true
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-09-14 18:38:41 +00:00
default = ["apollo_tracing", "bson", "chrono", "chrono-tz", "log", "multipart", "tracing", "url"]
apollo_tracing = ["chrono"]
multipart = ["multer", "bytes", "tempfile"]
[dependencies]
2020-09-15 11:50:14 +00:00
async-graphql-derive = { path = "derive", version = "2.0.0-alpha.8" }
async-graphql-parser = { path = "parser", version = "2.0.0-alpha.8" }
async-stream = "0.3"
async-trait = "0.1.30"
fnv = "1.0.6"
futures = "0.3.5"
indexmap = "1.3.2"
itertools = "0.9.0"
once_cell = "1.3.1"
2020-09-14 18:38:41 +00:00
pin-project-lite = "0.1.7"
regex = "1.3.5"
serde = { version = "1.0.104", features = ["derive"] }
serde_json = "1.0.48"
spin = "0.5.2"
thiserror = "1.0.11"
2020-07-15 10:05:24 +00:00
uuid = { version = "0.8.1", features = ["v4", "serde"] }
2020-09-14 18:38:41 +00:00
# Feature optional dependencies
bson = { version = "1.0.0", optional = true }
2020-09-14 18:38:41 +00:00
chrono = { version = "0.4.15", optional = true }
chrono-tz = { version = "0.5.1", optional = true }
2020-09-14 18:38:41 +00:00
log = { version = "0.4.11", optional = true }
tracing = { version = "0.1.19", optional = true }
url = { version = "2.1.1", optional = true }
2020-09-02 02:47:18 +00:00
2020-09-14 18:38:41 +00:00
bytes = { version = "0.5.4", optional = true }
multer = { version = "1.2.2", optional = true }
tempfile = { version = "3.1.0", optional = true }
[dev-dependencies]
async-std = { version = "1.5.0", features = ["attributes"] }
[workspace]
members = [
"parser",
"derive",
"integrations/actix-web",
"integrations/warp",
"integrations/tide",
"integrations/rocket",
"benchmark",
]