# 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"
rust-version = "1.85.0"
name = "epic-harness"
version = "0.4.1"
build = "build.rs"
exclude = [
    "ref/",
    "tests/",
    ".harness/",
    "hooks/bin/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "6 commands · auto skills · self-evolving Claude Code harness"
homepage = "https://github.com/epicsagas/epic-harness"
readme = "README.md"
keywords = [
    "claude-code",
    "plugin",
    "agent",
    "harness",
    "ai",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/epicsagas/epic-harness"

[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/epic-harness-{ target }.tar.xz"
pkg-fmt = "txz"
bin-dir = "epic-harness-{ target }/{ bin }"

[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-url = "{ repo }/releases/download/v{ version }/epic-harness-{ target }.zip"
pkg-fmt = "zip"
bin-dir = "epic-harness-{ target }/epic-harness.exe"

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

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

[[bin]]
name = "epic-harness"
path = "src/main.rs"

[dependencies.axum]
version = "0.8"
features = ["macros"]

[dependencies.crossterm]
version = "0.29"
features = ["events"]

[dependencies.regex]
version = "1"

[dependencies.rusqlite]
version = "0.39"
features = [
    "bundled",
    "vtab",
]

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.tiny_http]
version = "0.12"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "signal",
    "net",
]

[dependencies.toml]
version = "1.1"

[dependencies.tower-http]
version = "0.6"
features = ["cors"]

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

[dev-dependencies.axum-test]
version = "20"

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

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

[profile.dev]
opt-level = 0
debug = 1

[profile.dist]
lto = "thin"
inherits = "release"

[profile.release]
opt-level = "s"
lto = true
strip = true

[profile.release.package."*"]
opt-level = 3
codegen-units = 4
