# 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"
rust-version = "1.78.0"
name = "apimock"
version = "3.0.5"
authors = ["nabbisen <nabbisen@scqr.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "API mock Server generating HTTP/JSON responses"
readme = "README.md"
keywords = [
    "http",
    "api",
    "mock",
    "testing",
]
categories = [
    "web-programming",
    "development-tools",
    "command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/nabbisen/apimock-rs"

[features]
debug = []
spawn = []

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

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

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

[dependencies.console]
version = "0"

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

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

[dependencies.hyper-util]
version = "0"
features = [
    "server",
    "http1",
    "http2",
    "tokio",
]

[dependencies.json5]
version = "0"

[dependencies.log]
version = "0"

[dependencies.rhai]
version = "1"
features = [
    "sync",
    "serde",
]

[dependencies.serde]
version = "1"

[dependencies.serde_json]
version = "1"

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

[dependencies.toml]
version = "0"

[dev-dependencies.hyper]
version = "1"
features = ["client"]

[dev-dependencies.rand]
version = "0"

[profile.dev]
opt-level = 1
lto = false
incremental = true

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
strip = true
