2018-09-07 16:28:56 -05:00
|
|
|
[package]
|
|
|
|
name = "juniper_warp"
|
2024-03-20 14:20:45 -05:00
|
|
|
version = "0.8.0"
|
2022-07-13 05:30:51 -05:00
|
|
|
edition = "2021"
|
2023-11-01 13:00:05 -05:00
|
|
|
rust-version = "1.73"
|
2022-04-08 09:44:50 -05:00
|
|
|
description = "`juniper` GraphQL integration with `warp`."
|
2018-09-13 11:32:21 -05:00
|
|
|
license = "BSD-2-Clause"
|
2023-11-23 11:39:12 -06:00
|
|
|
authors = [
|
|
|
|
"Tom Houlé <tom@tomhoule.com>",
|
|
|
|
"Kai Ren <tyranron@gmail.com>",
|
|
|
|
]
|
2018-09-07 16:28:56 -05:00
|
|
|
documentation = "https://docs.rs/juniper_warp"
|
2022-04-08 09:44:50 -05:00
|
|
|
homepage = "https://github.com/graphql-rust/juniper/tree/master/juniper_warp"
|
2018-09-07 16:28:56 -05:00
|
|
|
repository = "https://github.com/graphql-rust/juniper"
|
2022-04-08 09:44:50 -05:00
|
|
|
readme = "README.md"
|
|
|
|
categories = ["asynchronous", "web-programming", "web-programming::http-server"]
|
|
|
|
keywords = ["apollo", "graphql", "juniper", "warp", "websocket"]
|
2023-09-21 16:24:41 -05:00
|
|
|
include = ["/examples/", "/src/", "/CHANGELOG.md", "/LICENSE", "/README.md"]
|
2022-04-08 09:44:50 -05:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
2018-09-07 16:28:56 -05:00
|
|
|
|
2020-03-18 22:31:36 -05:00
|
|
|
[features]
|
2023-09-21 16:24:41 -05:00
|
|
|
subscriptions = [
|
2023-11-23 11:39:12 -06:00
|
|
|
"dep:futures",
|
2023-09-21 16:24:41 -05:00
|
|
|
"dep:juniper_graphql_ws",
|
|
|
|
"dep:log",
|
|
|
|
"warp/websocket",
|
|
|
|
]
|
2020-03-18 22:31:36 -05:00
|
|
|
|
2018-09-07 16:28:56 -05:00
|
|
|
[dependencies]
|
2023-11-23 11:39:12 -06:00
|
|
|
futures = { version = "0.3.22", optional = true }
|
2024-04-04 07:50:56 -05:00
|
|
|
juniper = { version = "0.16", path = "../juniper", default-features = false }
|
2024-03-20 11:51:49 -05:00
|
|
|
juniper_graphql_ws = { version = "0.4.0", path = "../juniper_graphql_ws", features = ["graphql-transport-ws", "graphql-ws"], optional = true }
|
2023-09-21 16:24:41 -05:00
|
|
|
log = { version = "0.4", optional = true }
|
2022-10-21 11:07:17 -05:00
|
|
|
serde = { version = "1.0.122", features = ["derive"] }
|
|
|
|
serde_json = "1.0.18"
|
2020-10-19 11:42:27 -05:00
|
|
|
thiserror = "1.0"
|
2023-11-23 11:39:12 -06:00
|
|
|
tokio = { version = "1.0", features = ["rt"] }
|
2022-10-21 11:07:17 -05:00
|
|
|
warp = { version = "0.3.2", default-features = false }
|
|
|
|
|
2023-11-01 13:00:05 -05:00
|
|
|
# Fixes for `minimal-versions` check.
|
2022-10-21 11:07:17 -05:00
|
|
|
# TODO: Try remove on upgrade of `warp` crate.
|
|
|
|
headers = "0.3.8"
|
2019-08-18 14:36:44 -05:00
|
|
|
|
2018-09-07 16:28:56 -05:00
|
|
|
[dev-dependencies]
|
2023-09-21 16:24:41 -05:00
|
|
|
async-stream = "0.3"
|
2024-01-23 05:32:33 -06:00
|
|
|
env_logger = "0.11"
|
2023-11-23 11:39:12 -06:00
|
|
|
futures = "0.3.22"
|
2024-04-04 07:50:56 -05:00
|
|
|
juniper = { version = "0.16", path = "../juniper", features = ["expose-test-schema"] }
|
2020-10-19 11:42:27 -05:00
|
|
|
log = "0.4"
|
|
|
|
percent-encoding = "2.1"
|
2022-04-08 09:44:50 -05:00
|
|
|
tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
|
|
|
|
url = "2.0"
|
2023-09-21 16:24:41 -05:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "subscription"
|
|
|
|
required-features = ["subscriptions"]
|