# 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 = "hematite-cli"
version = "0.8.2"
build = "build.rs"
exclude = [
    "assets/*",
    "evals/*",
    "installer/*",
    "docs/*",
    "dist/*",
    ".claude/*",
    ".hematite/*",
    "scripts/*",
    "*.ps1",
    "*.sh",
    "prompt_library.md",
    "MEMORY.md",
    "WORKFLOWS.md",
    "CONTRIBUTING.md",
    "CAPABILITIES.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Senior SysAdmin, Network Admin, Data Analyst, and Software Engineer living in your terminal. A high-precision local AI agent harness for LM Studio, Ollama, and other local OpenAI-compatible runtimes that runs 100% on your own silicon. Reads repos, edits files, runs builds, inspects full network state and workstation telemetry, and runs real Python/JS for data analysis."
homepage = "https://github.com/undergroundrap/hematite-cli"
readme = "README.md"
keywords = [
    "ai",
    "harness",
    "sysadmin",
    "local-llm",
    "cli",
]
categories = [
    "command-line-utilities",
    "development-tools",
    "network-programming",
    "os",
]
license = "AGPL-3.0-only"
license-file = "LICENSE"
repository = "https://github.com/undergroundrap/hematite-cli"

[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
targets = ["x86_64-unknown-linux-gnu"]

[features]
default = []
embedded-voice-assets = []

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

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

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

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

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

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

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

[dependencies.aho-corasick]
version = "1"

[dependencies.anyhow]
version = "1.0.102"

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

[dependencies.base64]
version = "0.22.1"

[dependencies.chrono]
version = "0.4"

[dependencies.clap]
version = "4.4"
features = ["derive"]

[dependencies.crossterm]
version = "0.28"
features = ["event-stream"]

[dependencies.dirs]
version = "5"

[dependencies.futures]
version = "0.3"

[dependencies.home]
version = "0.5.12"

[dependencies.ignore]
version = "0.4"

[dependencies.kokoros]
version = "0.1.3"
package = "hematite-kokoros"

[dependencies.lazy_static]
version = "1.4"

[dependencies.libc]
version = "0.2"

[dependencies.lopdf]
version = "0.34"
features = ["nom_parser"]
default-features = false

[dependencies.notify]
version = "6.1"

[dependencies.pdf-extract]
version = "0.7"

[dependencies.percent-encoding]
version = "2.3"

[dependencies.petgraph]
version = "0.7"

[dependencies.rand]
version = "0.8"

[dependencies.ratatui]
version = "0.29"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
    "blocking",
]

[dependencies.rodio]
version = "0.19"

[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.shlex]
version = "1.3"

[dependencies.similar]
version = "2.4"
features = ["inline"]

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.0"
features = [
    "full",
    "parking_lot",
]

[dependencies.tree-sitter]
version = "0.23"

[dependencies.tree-sitter-javascript]
version = "0.23"

[dependencies.tree-sitter-python]
version = "0.23"

[dependencies.tree-sitter-rust]
version = "0.23"

[dependencies.tree-sitter-typescript]
version = "0.23"

[dependencies.url]
version = "2.5"

[dependencies.urlencoding]
version = "2.1.3"

[dependencies.walkdir]
version = "2"

[dependencies.which]
version = "6.0"

[dev-dependencies]

[build-dependencies.winres]
version = "0.1"

[profile.dev.package.hematite-kokoros]
opt-level = 3
codegen-units = 1

[profile.dev.package.ndarray]
opt-level = 3
codegen-units = 1

[profile.dev.package.ort]
opt-level = 3
codegen-units = 1

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