# 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.76" name = "cynic" version = "3.9.1" authors = ["Graeme Coupar "] description = "A code first GraphQL client for Rust" homepage = "https://cynic-rs.dev" documentation = "https://docs.rs/cynic" readme = "README.md" keywords = [ "graphql", "client", "api", ] license = "MPL-2.0" repository = "https://github.com/obmarg/cynic" [package.metadata.docs.rs] features = ["all"] rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.cynic-proc-macros] version = "3.9.1" [dependencies.ref-cast] version = "1.0.15" [dependencies.reqwest] version = "0.12" features = ["json"] optional = true default-features = false [dependencies.serde] version = "1.0.136" features = ["derive"] [dependencies.serde_json] version = "1.0" optional = true [dependencies.static_assertions] version = "1" [dependencies.surf] version = "2.3" optional = true default-features = false [dependencies.thiserror] version = "1.0.30" [dev-dependencies.assert_matches] version = "1.4" [dev-dependencies.chrono] version = "0.4.19" features = ["serde"] [dev-dependencies.graphql-parser] version = "0.4" [dev-dependencies.insta] version = "1.17" features = ["yaml"] [dev-dependencies.maplit] version = "1.0.2" [dev-dependencies.mockito] version = "1.4.0" [dev-dependencies.rstest] version = "0.23" [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.tokio] version = "1" features = ["macros"] [features] all = [ "http-surf", "http-reqwest", "http-reqwest-blocking", "rkyv", ] default = [] http-reqwest = [ "reqwest", "serde_json", ] http-reqwest-blocking = [ "http-reqwest", "reqwest/blocking", "serde_json", ] http-surf = [ "surf", "serde_json", ] rkyv = ["cynic-proc-macros/rkyv"]