# 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 = "rs-mock-server"
version = "0.7.4"
authors = ["Luís Vendrame <lvendrame@gmail.com>"]
build = false
exclude = [
    ".github/*",
    "images/*",
    "mocks/*",
    "docs/*",
    "example/*",
    "scripts/*",
    ".vscode/*",
    ".editorconfig",
    ".gitignore",
    "Makefile",
    "AGENTS.md",
    "CLAUDE.md",
    "CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple, file-based mock API server that maps your directory structure to HTTP and GraphQL routes. Ideal for local development and testing."
readme = "README.md"
keywords = [
    "mock",
    "server",
    "api",
    "http",
    "graphql",
]
categories = [
    "command-line-utilities",
    "development-tools::testing",
    "web-programming::http-server",
]
license = "MIT"
repository = "https://github.com/lvendrame/rs-mock-server"

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

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

[dependencies.async-graphql]
version = "7.2.1"
features = ["dynamic-schema"]

[dependencies.async-graphql-axum]
version = "7.2.1"

[dependencies.axum]
version = "0.8.9"
features = ["multipart"]

[dependencies.axum-server]
version = "0.8.0"
features = ["tls-rustls"]

[dependencies.chrono]
version = "0.4.44"
features = ["serde"]

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

[dependencies.crossterm]
version = "0.29.0"

[dependencies.fosk]
version = "0.2.0"

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

[dependencies.http]
version = "1.4.2"

[dependencies.hyper]
version = "1.10.1"

[dependencies.jgd-rs]
version = "0.2.1"

[dependencies.jsonwebtoken]
version = "10.4.0"
features = ["rust_crypto"]

[dependencies.mime_guess]
version = "2.0"

[dependencies.notify]
version = "8.2.0"

[dependencies.once_cell]
version = "1.21.4"

[dependencies.ratatui]
version = "0.30.1"

[dependencies.rcgen]
version = "0.14.8"

[dependencies.regex]
version = "1.12.3"

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.terminal-link]
version = "0.1.0"

[dependencies.tokio]
version = "1.52.3"
features = [
    "macros",
    "rt-multi-thread",
    "fs",
    "io-util",
    "signal",
]

[dependencies.tokio-util]
version = "0.7.18"
features = ["io"]

[dependencies.toml]
version = "1.1.2"

[dependencies.tower]
version = "0.5.3"

[dependencies.tower-http]
version = "0.6.6"
features = [
    "cors",
    "fs",
    "normalize-path",
    "trace",
]

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]

[dependencies.uuid]
version = "1.23.2"
features = ["v4"]

[dev-dependencies.tempfile]
version = "3.27.0"
