juniper/juniper_actix/Cargo.toml

59 lines
1.8 KiB
TOML
Raw Normal View History

2020-04-21 01:21:02 -05:00
[package]
name = "juniper_actix"
version = "0.5.0-dev"
edition = "2021"
2022-12-19 02:31:23 -06:00
rust-version = "1.65"
description = "`juniper` GraphQL integration with `actix-web`."
2020-04-21 01:21:02 -05:00
license = "BSD-2-Clause"
authors = ["Jordao Rosario <jordao.rosario01@gmail.com>"]
2020-04-21 01:21:02 -05:00
documentation = "https://docs.rs/juniper_actix"
homepage = "https://github.com/graphql-rust/juniper/tree/master/juniper_actix"
2020-04-21 01:21:02 -05:00
repository = "https://github.com/graphql-rust/juniper"
readme = "README.md"
categories = ["asynchronous", "web-programming", "web-programming::http-server"]
keywords = ["actix-web", "apollo", "graphql", "juniper", "websocket"]
exclude = ["/examples/", "/release.toml"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
2020-04-21 01:21:02 -05:00
[features]
subscriptions = [
"dep:actix",
"dep:actix-web-actors",
"dep:juniper_graphql_ws",
"dep:tokio",
]
2020-04-21 01:21:02 -05:00
[dependencies]
actix = { version = ">=0.12,<=0.13", optional = true }
actix-http = "3.2"
actix-web = "4.2.1"
actix-web-actors = { version = "4.1", optional = true }
anyhow = "1.0.47"
futures = "0.3.22"
juniper = { version = "0.16.0-dev", path = "../juniper", default-features = false }
juniper_graphql_ws = { version = "0.4.0-dev", path = "../juniper_graphql_ws", optional = true }
http = "0.2.4"
serde = { version = "1.0.122", features = ["derive"] }
serde_json = "1.0.18"
thiserror = "1.0"
tokio = { version = "1.0", features = ["sync"], optional = true }
# Fixes for MSRV check.
# TODO: Try remove on upgrade to 4.3 version of `actix-web` crate.
derive_more = { version = "0.99.8", default-features = false }
2020-04-21 01:21:02 -05:00
[dev-dependencies]
actix-cors = "0.6"
actix-identity = "0.5"
actix-rt = "2.0"
actix-test = "0.1"
async-stream = "0.3"
bytes = "1.0"
env_logger = "0.10"
juniper = { version = "0.16.0-dev", path = "../juniper", features = ["expose-test-schema"] }
log = "0.4"
tokio = "1.0"