# 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 = "mii-http"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Turn a .http specs file into a real HTTP server, backed by the shell commands you already have."
readme = "README.md"
license = "BSD-3-Clause"
repository = "https://github.com/mii-nipah/mii-http"

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

[[bin]]
name = "mii-http"
path = "src/main.rs"

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

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

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

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

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

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

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

[dependencies.ariadne]
version = "0.6"

[dependencies.axum]
version = "0.7"
features = [
    "http1",
    "tokio",
    "matched-path",
    "original-uri",
    "query",
]
default-features = false

[dependencies.bytes]
version = "1"

[dependencies.chumsky]
version = "0.12"

[dependencies.form_urlencoded]
version = "1"

[dependencies.futures-util]
version = "0.3"

[dependencies.http]
version = "1"

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

[dependencies.jsonwebtoken]
version = "9"

[dependencies.libc]
version = "0.2"

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.tempfile]
version = "3"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "io-util",
    "process",
    "signal",
    "time",
    "sync",
    "fs",
]

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tracing]
version = "0.1"

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

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

[profile.release]
lto = true
codegen-units = 1
