# 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 = "2024"
name = "rdom-tui"
version = "0.3.2"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal rendering layer for rdom-core — flexbox layout, TUI styles, key/mouse events. Use rdom-core directly for headless DOM manipulation."
readme = "README.md"
keywords = [
    "tui",
    "dom",
    "terminal",
    "flexbox",
    "cascade",
]
categories = [
    "command-line-interface",
    "gui",
]
license = "MIT"
repository = "https://github.com/miskun/rdom"
resolver = "2"

[features]
default = []
no-synchronized-output = []

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

[[example]]
name = "border_collapse_demo"
path = "examples/border_collapse_demo.rs"

[[example]]
name = "counter_button"
path = "examples/counter_button.rs"

[[example]]
name = "dom_api_demo"
path = "examples/dom_api_demo.rs"

[[example]]
name = "parse_and_render"
path = "examples/parse_and_render.rs"

[[example]]
name = "scrollable_list"
path = "examples/scrollable_list.rs"

[[example]]
name = "selectable_text"
path = "examples/selectable_text.rs"

[[example]]
name = "sticky_demo"
path = "examples/sticky_demo.rs"

[[example]]
name = "tab_form"
path = "examples/tab_form.rs"

[[example]]
name = "tree_nav"
path = "examples/tree_nav.rs"

[[example]]
name = "ua_chrome"
path = "examples/ua_chrome.rs"

[[test]]
name = "integration"
path = "tests/integration/main.rs"

[[bench]]
name = "block_layout"
path = "benches/block_layout.rs"
harness = false

[[bench]]
name = "runtime"
path = "benches/runtime.rs"
harness = false

[dependencies.arboard]
version = "3"

[dependencies.compact_str]
version = "0.9"

[dependencies.crossterm]
version = "0.28"

[dependencies.open]
version = "5"

[dependencies.rdom-core]
version = "0.3.2"

[dependencies.rdom-css]
version = "0.3.2"

[dependencies.rdom-style]
version = "0.3.2"

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

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

[dev-dependencies.criterion]
version = "0.5"
features = ["rayon"]
default-features = false

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

[dev-dependencies.rdom-parser]
version = "0.3.2"

[build-dependencies.rdom-style]
version = "0.3.2"
