# 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 = "pawan-core"
version = "0.5.20"
authors = ["Dirmacs <build@dirmacs.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pawan (पवन) — Core library: agent, tools, config, healing"
readme = "README.md"
keywords = [
    "cli",
    "coding",
    "agent",
    "ai",
    "self-healing",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/dirmacs/pawan"

[features]
deagle = [
    "dep:deagle-core",
    "dep:deagle-parse",
    "dep:rayon",
]
default = [
    "deagle",
    "tasks",
    "git-sessions",
]
git-sessions = ["dep:gix"]
lancor = ["dep:lancor"]
memory = []
tasks = ["dep:rusqlite"]

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

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

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

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

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

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

[dependencies.ares-server]
version = "0.7.5"
features = [
    "openai",
    "ollama",
]
default-features = false

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

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.deagle-core]
version = "0.1.5"
optional = true

[dependencies.deagle-parse]
version = "0.1.5"
features = [
    "pattern",
    "text-search",
]
optional = true

[dependencies.dirs]
version = "6.0"

[dependencies.futures]
version = "0.3"

[dependencies.gix]
version = "0.83"
features = [
    "sha1",
    "tree-editor",
]
optional = true
default-features = false

[dependencies.glob]
version = "0.3"

[dependencies.ignore]
version = "0.4"

[dependencies.keyring]
version = "3.6"

[dependencies.lancor]
version = "0.2"
optional = true

[dependencies.rand]
version = "0.8"

[dependencies.rayon]
version = "1.10"
optional = true

[dependencies.regex]
version = "1.12"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "stream",
    "rustls",
]
default-features = false

[dependencies.rmux-sdk]
version = "0.5"

[dependencies.rpassword]
version = "7.3"

[dependencies.rusqlite]
version = "0.34"
features = ["bundled"]
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.similar]
version = "2.6"

[dependencies.thiserror]
version = "2.0"

[dependencies.thulp-core]
version = "0.3.2"

[dependencies.thulp-query]
version = "0.3"

[dependencies.thulp-skill-files]
version = "0.3"

[dependencies.thulp-skills]
version = "0.3"

[dependencies.thulpoff-core]
version = "0.1"

[dependencies.thulpoff-engine]
version = "0.1"

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

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

[dependencies.toml]
version = "1.1"

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

[dependencies.uuid]
version = "1.19"
features = [
    "v4",
    "serde",
]

[dependencies.walkdir]
version = "2.5"

[dependencies.which]
version = "8"

[dev-dependencies.mockito]
version = "1.6"

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

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

[dev-dependencies.tokio-test]
version = "0.4"
