subgraph-mock 0.1.0

A standalone mock subgraph server designed to be placed behind a supergraph for testing.
Documentation
# 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 = "2024"
name = "subgraph-mock"
version = "0.1.0"
authors = ["Apollo Developers <opensource@apollographql.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A standalone mock subgraph server designed to be placed behind a supergraph for testing.
"""
documentation = "https://docs.rs/subgraph-mock"
readme = "README.md"
keywords = [
    "graphql",
    "mock-server",
    "apollo",
]
categories = [
    "development-tools::testing",
    "web-programming::http-server",
]
license-file = "LICENSE"
repository = "https://github.com/apollographql/subgraph-mock"

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

[[bin]]
name = "subgraph-mock"
path = "src/main.rs"

[[test]]
name = "test_config_defaults"
path = "tests/test_config_defaults.rs"

[[test]]
name = "test_custom_ratios"
path = "tests/test_custom_ratios.rs"

[[test]]
name = "test_error_generation"
path = "tests/test_error_generation.rs"

[[test]]
name = "test_harness"
path = "tests/test_harness.rs"

[[test]]
name = "test_latency_shapes"
path = "tests/test_latency_shapes.rs"

[[test]]
name = "test_scalar_overrides"
path = "tests/test_scalar_overrides.rs"

[[test]]
name = "test_subgraph_overrides"
path = "tests/test_subgraph_overrides.rs"

[dependencies.anyhow]
version = "1.0.99"

[dependencies.apollo-compiler]
version = "1.30.0"

[dependencies.arbitrary]
version = "1.4.2"

[dependencies.cached]
version = "0.56.0"
features = [
    "async",
    "async_tokio_rt_multi_thread",
]

[dependencies.clap]
version = "4.5.47"
features = ["derive"]

[dependencies.futures]
version = "0.3.31"

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

[dependencies.humantime-serde]
version = "1.1.1"

[dependencies.hyper]
version = "1.8.1"
features = ["server"]

[dependencies.hyper-util]
version = "0.1.16"
features = [
    "server-auto",
    "tokio",
]

[dependencies.notify]
version = "8.0"

[dependencies.ordered-float]
version = "5.0"
features = ["serde"]

[dependencies.rand]
version = "0.9.2"

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

[dependencies.serde_json_bytes]
version = "0.2.5"

[dependencies.serde_yaml]
version = "0.9.34"

[dependencies.tokio]
version = "1.47.1"
features = [
    "macros",
    "net",
    "parking_lot",
    "rt-multi-thread",
]

[dependencies.tracing]
version = "0.1.41"

[dependencies.tracing-subscriber]
version = "0.3.20"
features = [
    "env-filter",
    "json",
]

[dev-dependencies.apollo-parser]
version = "0.8.4"

[dev-dependencies.apollo-smith]
version = "0.15.2"

[dev-dependencies.ctor]
version = "0.6.1"

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.tokio]
version = "1.47.1"
features = [
    "macros",
    "net",
    "parking_lot",
    "rt-multi-thread",
    "test-util",
]