[package]
name = "apimock"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
description = "HTTP(S) mock server. Drop JSON files into a folder and your API immediately exists."
categories = ["web-programming", "development-tools", "command-line-utilities"]
keywords = ["http", "api", "mock", "testing"]
readme = "../../README.md"
[features]
default = []
spawn = []
[dependencies]
apimock-config = { path = "../apimock-config", version = "5.1.2" }
apimock-routing = { path = "../apimock-routing", version = "5.1.2" }
apimock-server = { path = "../apimock-server", version = "5.1.2" }
tokio = { workspace = true }
log = { workspace = true }
console = { workspace = true }
thiserror = { workspace = true }
anyhow = { workspace = true }
[dev-dependencies]
rand = "^0.9"
reqwest = { version = "0", default-features = false, features = ["rustls-tls"] }
rcgen = "^0"
local-ip-address = "^0"
tempfile = "3"
serde_json = { workspace = true }
log = { version = "0", features = ["std"] }
criterion = { version = "0.8", features = ["html_reports", "async_tokio"] }
hyper = { workspace = true }
[[bench]]
name = "routing"
harness = false
[[bench]]
name = "response_latency"
harness = false