# 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.5.2"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Local AI coding harness for LM Studio with TUI, voice, retrieval, and grounded workstation tooling"
homepage = "https://github.com/undergroundrap/hematite-cli"
readme = "README.md"
keywords = [
    "ai",
    "cli",
    "coding-agent",
    "lm-studio",
    "tui",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license-file = "LICENSE"
repository = "https://github.com/undergroundrap/hematite-cli"

[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
targets = [
    "x86_64-pc-windows-msvc",
    "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 = "diagnostics"
path = "tests/diagnostics.rs"

[dependencies.anyhow]
version = "1.0.102"

[dependencies.base64]
version = "0.22.1"

[dependencies.chrono]
version = "0.4"

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

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

[dependencies.futures]
version = "0.3"

[dependencies.home]
version = "0.5.12"

[dependencies.ignore]
version = "0.4"

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

[dependencies.lazy_static]
version = "1.4"

[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.26"

[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.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.walkdir]
version = "2"

[dev-dependencies.dirs]
version = "5"

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

[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
