# 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 = "tetrad"
version = "0.1.4"
authors = ["SamoraDC"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Quadruple Consensus MCP Server for Claude Code - Validates code using Codex, Gemini and Qwen"
homepage = "https://github.com/SamoraDC/tetrad"
documentation = "https://docs.rs/tetrad"
readme = "README.md"
keywords = [
    "mcp",
    "claude",
    "code-review",
    "ai",
    "consensus",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/SamoraDC/tetrad"

[features]
cli = [
    "clap",
    "dialoguer",
    "indicatif",
]
default = [
    "cli",
    "sqlite",
]
sqlite = ["rusqlite"]

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

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

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4.5"
features = ["derive"]
optional = true

[dependencies.dialoguer]
version = "0.11"
optional = true

[dependencies.dirs]
version = "6.0.0"

[dependencies.hex]
version = "0.4"

[dependencies.indicatif]
version = "0.17"
optional = true

[dependencies.lru]
version = "0.12"

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2.0"

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

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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

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

[dev-dependencies.assert_cmd]
version = "2.0"

[dev-dependencies.predicates]
version = "3.1"

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

[dev-dependencies.tokio-test]
version = "0.4"

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