[package]
edition = "2024"
rust-version = "1.88"
name = "graphql-extract"
version = "0.0.12"
authors = ["Aftermath Finance <admin@aftermath.finance>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Macro to extract data from deeply nested types representing GraphQL results"
readme = "README.md"
categories = ["cryptography::cryptocurrencies"]
license = "Apache-2.0"
repository = "https://github.com/AftermathFinance/aftermath-sdk-rust"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition"]
[lib]
name = "graphql_extract"
path = "src/lib.rs"
proc-macro = true
[[test]]
name = "trybuild"
path = "tests/trybuild.rs"
[[test]]
name = "errors"
path = "tests/errors.rs"
[dependencies.derive-syn-parse]
version = "0.2"
[dependencies.proc-macro2]
version = "1"
[dependencies.quote]
version = "1"
[dependencies.syn]
version = "2"
features = ["full"]
[dev-dependencies.insta]
version = "1"
[dev-dependencies.trybuild]
version = "1"
features = ["diff"]
[lints.clippy]
double_parens = "allow"
todo = "warn"
uninlined_format_args = "allow"
unwrap_used = "warn"
[lints.clippy.nursery]
level = "warn"
priority = 1
[lints.clippy.redundant_pub_crate]
level = "allow"
priority = 2
[lints.rust]
exported_private_dependencies = "allow"