# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "gurkle"
version = "0.1.0"
authors = ["Brendan Molloy <brendan@bbqsrc.net>", "Tom Houlé <tom@tomhoule.com>"]
description = "GraphQL client for Rust, with typed requests and responses, and subscriptions!"
keywords = ["graphql", "api", "web"]
categories = ["network-programming", "web-programming"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/bbqsrc/gurkle"
[dependencies.anyhow]
version = "1"
optional = true

[dependencies.doc-comment]
version = "0.3"

[dependencies.js-sys]
version = "0.3"
optional = true

[dependencies.log]
version = "0.4"
optional = true

[dependencies.reqwest]
version = "0.11"
features = ["rustls-tls", "json", "gzip", "brotli"]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dependencies.wasm-bindgen-futures]
version = "0.4"
optional = true

[dependencies.web-sys]
version = "0.3"
features = ["Headers", "Request", "RequestInit", "Response", "Window"]
optional = true
[dev-dependencies.wasm-bindgen-test]
version = "^0.3"

[features]
default = []
web = ["anyhow", "js-sys", "log", "wasm-bindgen", "wasm-bindgen-futures", "web-sys"]
