[package]
name = "tui-dispatch"
description = "Centralized state management for Rust TUI apps"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true

[features]
default = ["debug"]
debug = ["dep:tui-dispatch-debug"]
tasks = ["tui-dispatch-core/tasks", "tui-dispatch-debug?/tasks"]
subscriptions = ["tui-dispatch-core/subscriptions", "tui-dispatch-debug?/subscriptions"]
testing-time = ["tui-dispatch-core/testing-time"]
tracing = ["tui-dispatch-core/tracing"]
serde = ["tui-dispatch-core/serde"]
json-schema = ["tui-dispatch-core/json-schema"]

[dependencies]
tui-dispatch-core.workspace = true
tui-dispatch-debug = { workspace = true, optional = true }
tui-dispatch-macros.workspace = true

[dev-dependencies]
serde = { workspace = true, features = ["derive"] }
