# 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"
name = "mad-hatter"
version = "0.2.25"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Declarative Rust framework for building AI agent runtimes — manages IO boundaries (LLM, HTTP, DB, tunnels, logging)"
readme = "README.md"
license = "MIT"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.8"
features = [
    "multipart",
    "ws",
]

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4"

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

[dependencies.mad-hatter-macros]
version = "0.2.8"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
    "rustls-tls",
]
default-features = false

[dependencies.rustls]
version = "0.23"
features = [
    "std",
    "tls12",
    "ring",
]
default-features = false

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.sqlx]
version = "0.8"
features = [
    "sqlite",
    "runtime-tokio",
]

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-tungstenite]
version = "0.26"
features = ["rustls-tls-webpki-roots"]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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

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

[dependencies.webpki-roots]
version = "0.26"

[dev-dependencies.cargo-husky]
version = "1"
features = ["user-hooks"]
default-features = false

[dev-dependencies.http-body-util]
version = "0.1"

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

[dev-dependencies.tower]
version = "0.5"
features = ["util"]
