[package]
name = "graphql_client"
version = "0.12.0"
authors = ["Tom Houlé <tom@tomhoule.com>"]
description = "Typed GraphQL requests and responses"
repository = "https://github.com/graphql-rust/graphql-client"
license = "Apache-2.0 OR MIT"
keywords = ["graphql", "api", "web", "webassembly", "wasm"]
categories = ["network-programming", "web-programming", "wasm"]
edition = "2018"
homepage = "https://github.com/graphql-rust/graphql-client"
readme = "../README.md"
[package.metadata.docs.rs]
features = ["reqwest"]
[dependencies]
serde = { version = "^1.0.78", features = ["derive"] }
serde_json = "1.0"
graphql_query_derive = { path = "../graphql_query_derive", version = "0.12.0", optional = true }
reqwest-crate = { package = "reqwest", version = "^0.11", features = ["json"], default-features = false, optional = true }
[features]
default = ["graphql_query_derive"]
reqwest = ["reqwest-crate", "reqwest-crate/default-tls"]
reqwest-rustls = ["reqwest-crate", "reqwest-crate/rustls-tls"]
reqwest-blocking = ["reqwest-crate/blocking"]