# 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"
rust-version = "1.80"
name = "capo-tui"
version = "0.10.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Elm-style MVU TUI library for the Capo coding agent."
readme = "README.md"
keywords = [
    "tui",
    "ratatui",
    "coding-agent",
    "capo",
]
categories = ["command-line-interface"]
license = "MIT"
repository = "https://github.com/motosan-dev/capo"

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

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

[dependencies.ansi-to-tui]
version = "7"

[dependencies.capo-agent]
version = "0.10.1"

[dependencies.crossterm]
version = "0.28"
features = [
    "event-stream",
    "bracketed-paste",
]

[dependencies.futures]
version = "0.3"
features = [
    "std",
    "async-await",
]
default-features = false

[dependencies.ignore]
version = "0.4"

[dependencies.nucleo]
version = "0.5"

[dependencies.pulldown-cmark]
version = "0.10"

[dependencies.ratatui]
version = "0.29"
features = ["unstable-rendered-line-info"]

[dependencies.serde_json]
version = "1"

[dependencies.syntect]
version = "5"
features = ["default-fancy"]
default-features = false

[dependencies.textwrap]
version = "0.16"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
    "fs",
    "process",
    "io-util",
]

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tracing]
version = "0.1"

[dependencies.unicode-segmentation]
version = "1.12"

[dependencies.unicode-width]
version = "0.2"

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

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
    "fs",
    "process",
    "io-util",
    "macros",
    "rt-multi-thread",
    "test-util",
]

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

[lints.clippy]
expect_used = "deny"
manual_clamp = "deny"
manual_filter = "deny"
needless_borrow = "deny"
needless_collect = "deny"
redundant_clone = "deny"
uninlined_format_args = "deny"
unwrap_used = "deny"
