[package]
name = "syntaxis-tui"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
description = "TUI dashboard for syntaxis management"

[[bin]]
name = "syntaxis-tui"
path = "src/main.rs"

[package.metadata.syntaxis]
use_wrapper = true
install_mode = "cargo|bin"
config_src = "configs/tui"

[dependencies]
syntaxis-core = { path = "../syntaxis" }
tools-tui-shared = { path = "../../../shared/rust-tui" }

# TUI
ratatui = { workspace = true }
crossterm = { workspace = true }
tui-textarea = "0.5.0"  # Text input widget for task creation forms

# Async
tokio = { workspace = true }

# HTTP client for API calls
reqwest = { workspace = true }

# Serialization
serde = { workspace = true }
serde_json = { workspace = true }

# Error handling
anyhow = { workspace = true }
thiserror = { workspace = true }

# Date/time
chrono = { workspace = true }

# UUID
uuid = { workspace = true }

# Logging
tracing = { workspace = true }
tracing-subscriber = { workspace = true }

# Configuration
toml = { workspace = true }
once_cell = { workspace = true }

[dev-dependencies]
criterion = { workspace = true }

[[bench]]
name = "rendering_performance"
harness = false

[[bench]]
name = "event_handling"
harness = false

[[bench]]
name = "state_mutations"
harness = false
