# 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"
name = "hone-core"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Agent loop and orchestration for Hone"
homepage = "https://wojciechkpl.github.io/hone/"
readme = false
keywords = [
    "ai",
    "coding-agent",
    "terminal",
    "llm",
    "tools",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/wojciechkpl/hone"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "context_perf"
path = "benches/context_perf.rs"
harness = false

[dependencies.anyhow]
version = "1"

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

[dependencies.futures]
version = "0.3"

[dependencies.hone-config]
version = "0.1.0"

[dependencies.hone-index]
version = "0.1.0"

[dependencies.hone-mcp]
version = "0.1.0"

[dependencies.hone-memory]
version = "0.1.0"

[dependencies.hone-proto]
version = "0.1.0"

[dependencies.hone-providers]
version = "0.1.0"

[dependencies.hone-sandbox]
version = "0.1.0"

[dependencies.hone-tools]
version = "0.1.0"

[dependencies.ignore]
version = "0.4"

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

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

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

[dependencies.tiktoken-rs]
version = "0.6"

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

[dependencies.tokio-util]
version = "0.7"
features = ["codec"]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = [
    "v7",
    "serde",
]

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.mockall]
version = "0.13"

[dev-dependencies.proptest]
version = "1"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]
