# 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"
rust-version = "1.91.0"
name = "apimock"
version = "5.3.0"
authors = ["nabbisen"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP(S) mock server. Drop JSON files into a folder and your API immediately exists."
readme = "README.md"
keywords = [
    "http",
    "api",
    "mock",
    "testing",
]
categories = [
    "web-programming",
    "development-tools",
    "command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/apimokka/apimock-rs"
resolver = "2"

[features]
default = []
spawn = []

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

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

[[example]]
name = "bench_load"
path = "examples/bench_load.rs"

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

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

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

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

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

[[bench]]
name = "response_latency"
path = "benches/response_latency.rs"
harness = false

[[bench]]
name = "routing"
path = "benches/routing.rs"
harness = false

[dependencies.anyhow]
version = "1"

[dependencies.apimock-config]
version = "5.3.0"

[dependencies.apimock-routing]
version = "5.3.0"

[dependencies.apimock-server]
version = "5.3.0"

[dependencies.console]
version = "0"

[dependencies.log]
version = "0"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "^1.44"
features = ["full"]

[dev-dependencies.criterion]
version = "0.8"
features = [
    "html_reports",
    "async_tokio",
]

[dev-dependencies.hyper]
version = "1"
features = [
    "server",
    "http1",
    "http2",
]

[dev-dependencies.local-ip-address]
version = "^0"

[dev-dependencies.log]
version = "0"
features = ["std"]

[dev-dependencies.rand]
version = "^0.9"

[dev-dependencies.rcgen]
version = "^0"

[dev-dependencies.reqwest]
version = "0"
features = ["rustls-tls"]
default-features = false

[dev-dependencies.serde_json]
version = "1"

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