# 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"
version = "0.4.13"
authors = ["Dirmacs <build@dirmacs.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pawan (पवन) — CLI coding agent binary"
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]
default = [
    "tui",
    "mcp",
]
mcp = ["dep:pawan-mcp"]
tui = [
    "dep:ratatui",
    "dep:crossterm",
    "dep:ratatui-textarea",
]

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

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

[dependencies.arboard]
version = "3.4"

[dependencies.atty]
version = "0.2.14"

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

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "color",
    "env",
]

[dependencies.clap_complete]
version = "4.5"

[dependencies.crossterm]
version = "0.29"
optional = true

[dependencies.dialoguer]
version = "0.12"

[dependencies.dirs]
version = "6.0"

[dependencies.dotenvy]
version = "0.15"

[dependencies.indicatif]
version = "0.18"

[dependencies.owo-colors]
version = "4.1"

[dependencies.pawan-core]
version = "0.4.12"

[dependencies.pawan-mcp]
version = "0.4.12"
optional = true

[dependencies.ratatui]
version = "0.30"
optional = true

[dependencies.ratatui-textarea]
version = "0.9"
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.syntect]
version = "5.2"

[dependencies.termimad]
version = "0.34"

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

[dependencies.toml]
version = "1.1"

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

[dependencies.which]
version = "8"

[dev-dependencies.assert_cmd]
version = "2.0"

[dev-dependencies.predicates]
version = "3.1"

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