[package]
name = "kigi-ratatui-textarea"
version.workspace = true
edition.workspace = true
license = "Apache-2.0"

[dependencies]
crossterm = { workspace = true, features = ["event-stream", "bracketed-paste"] }
ratatui = { workspace = true, features = ["crossterm", "unstable-widget-ref"] }
ratatui-core = { workspace = true }
textwrap = { workspace = true }
tracing = { workspace = true, optional = true }
tui-scrollbar = { workspace = true }
unicode-segmentation = { workspace = true }
unicode-width = { workspace = true }

[dev-dependencies]
arboard = { workspace = true }
chrono = { workspace = true }
fuzzy-matcher = { workspace = true }
ignore = { workspace = true }
itertools = { workspace = true }
pretty_assertions = { workspace = true }
rand = { workspace = true }

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

[features]
default = []
debug-logs = ["dep:tracing"]

[lints]
workspace = true
