# 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.3.1"
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:tui-textarea",
]

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

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

[dependencies.atty]
version = "0.2.14"

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

[dependencies.clap_complete]
version = "4.5"

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

[dependencies.dialoguer]
version = "0.11"

[dependencies.dirs]
version = "5.0"

[dependencies.dotenvy]
version = "0.15"

[dependencies.indicatif]
version = "0.17"

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

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

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.syntect]
version = "5.2"

[dependencies.termimad]
version = "0.30"

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

[dependencies.toml]
version = "0.8"

[dependencies.tui-textarea]
version = "0.7"
optional = true

[dependencies.which]
version = "7"

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

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

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