# 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"
name = "koda-core"
version = "0.1.11"
authors = ["Lijun Zhu"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core engine for the Koda AI coding agent"
readme = "README.md"
license = "MIT"
repository = "https://github.com/lijunzh/koda"

[features]
test-support = []

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

[[test]]
name = "cancel_test"
path = "tests/cancel_test.rs"
required-features = ["test-support"]

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

[[test]]
name = "e2e_test"
path = "tests/e2e_test.rs"
required-features = ["test-support"]

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

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

[[test]]
name = "inference_recovery_test"
path = "tests/inference_recovery_test.rs"
required-features = ["test-support"]

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

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

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

[[test]]
name = "session_test"
path = "tests/session_test.rs"
required-features = ["test-support"]

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.base64]
version = "0.22"

[dependencies.futures-util]
version = "0.3"

[dependencies.glob]
version = "0.3"

[dependencies.ignore]
version = "0.4"

[dependencies.koda-ast]
version = "0.1.11"

[dependencies.koda-email]
version = "0.1.11"

[dependencies.path-clean]
version = "1"

[dependencies.regex]
version = "1"

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

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

[dependencies.serde_json]
version = "1"

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

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

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

[dependencies.toml]
version = "1"

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

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

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

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

[dev-dependencies.ignore]
version = "0.4"

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

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

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