# 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 are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.71.1" name = "thegraph-graphql-http" version = "0.2.4" authors = ["Lorenzo Delgado (LNSD) "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A rust implementation of the GraphQL-over-HTTP spec for The Graph network services" readme = "README.md" license = "MIT" repository = "https://github.com/edgeandnode/toolshed" [lib] name = "thegraph_graphql_http" path = "src/lib.rs" [[test]] name = "it_graphql_http_client" path = "tests/it_graphql_http_client.rs" [[test]] name = "it_graphql_http_client_graphql_client" path = "tests/it_graphql_http_client_graphql_client.rs" [[test]] name = "it_graphql_http_client_graphql_parser" path = "tests/it_graphql_http_client_graphql_parser.rs" [dependencies.async-graphql] version = "7.0" optional = true [dependencies.async-trait] version = "0.1" optional = true [dependencies.graphql-parser] version = "0.4" optional = true [dependencies.graphql_client] version = "0.14" optional = true [dependencies.reqwest] version = "0.12" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "1.0" [dev-dependencies.assert_matches] version = "1.5.0" [dev-dependencies.indoc] version = "2.0.5" [dev-dependencies.tokio] version = "1.37.0" features = [ "rt", "macros", "time", ] [features] compat-async-graphql = ["dep:async-graphql"] compat-graphql-client = ["dep:graphql_client"] compat-graphql-parser = ["dep:graphql-parser"] http-client-reqwest = [ "dep:async-trait", "dep:reqwest", ]