# 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.85"
name = "tui-dispatch"
version = "0.7.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Centralized state management for Rust TUI apps"
readme = false
license = "MIT"
repository = "https://github.com/dmk/tui-dispatch"

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

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

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

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

[dependencies.tui-dispatch-core]
version = "0.7.1"

[dependencies.tui-dispatch-debug]
version = "0.7.1"
optional = true

[dependencies.tui-dispatch-macros]
version = "0.7.1"

[dev-dependencies.serde]
version = "1.0"
features = [
    "derive",
    "derive",
]
