# 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"
name = "hive-apollo-router-plugin"
version = "2.3.6"
authors = ["Kamil Kisiela <kamil.kisiela@gmail.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Apollo-Router Plugin for Hive"
readme = "README.md"
license = "MIT"
repository = "https://github.com/graphql-hive/console/"

[lib]
name = "hive_apollo_router_plugin"
path = "src/lib.rs"

[[bin]]
name = "router"
path = "src/main.rs"

[dependencies.anyhow]
version = "1"

[dependencies.apollo-router]
version = "^2.0.0"

[dependencies.async-trait]
version = "0.1.77"

[dependencies.axum-core]
version = "0.5"

[dependencies.futures]
version = "0.3.30"
features = ["thread-pool"]

[dependencies.graphql-parser]
version = "0.4.1"

[dependencies.graphql-tools]
version = "0.4.0"

[dependencies.hive-console-sdk]
version = "0"

[dependencies.http]
version = "1"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1"
features = [
    "server",
    "client",
]

[dependencies.lru]
version = "0.16.0"

[dependencies.md5]
version = "0.7.0"

[dependencies.rand]
version = "0.9.0"

[dependencies.reqwest]
version = "0.12.0"
features = [
    "rustls-tls",
    "blocking",
    "json",
]
default-features = false

[dependencies.reqwest-middleware]
version = "0.4.0"

[dependencies.reqwest-retry]
version = "0.7.0"

[dependencies.schemars]
version = "1.0.4"
features = ["url2"]

[dependencies.serde]
version = "1"

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10.8"
features = ["std"]

[dependencies.thiserror]
version = "2.0.11"

[dependencies.tokio]
version = "1.36.0"
features = ["full"]

[dependencies.tower]
version = "0.5"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.httpmock]
version = "0.7.0"

[dev-dependencies.jsonschema]
version = "0.29.0"
features = ["resolve-file"]
default-features = false

[dev-dependencies.lazy_static]
version = "1.5.0"
