[package]
name = "ftui-core"
version = "0.2.1"
edition = "2024"
license-file = "../../LICENSE"
description = "Terminal lifecycle, capabilities, and event parsing for FrankenTUI."
repository = "https://github.com/Dicklesworthstone/frankentui"
homepage = "https://github.com/Dicklesworthstone/frankentui"
documentation = "https://docs.rs/ftui-core"
readme = "../../README.md"
[features]
default = []
crossterm = ["dep:crossterm"]
tracing = ["dep:tracing"]
tracing-json = ["tracing", "dep:tracing-subscriber"]
caps-probe = []
test-helpers = []
[dependencies]
ahash = "0.8"
arc-swap = "1.8.2"
bitflags = "2.10.0"
unicode-display-width = "0.3.0"
unicode-segmentation = "1.12.0"
unicode-width = "0.2.2"
web-time = "1.1.0"
tracing = { version = "0.1.41", optional = true }
tracing-subscriber = { version = "0.3.20", features = ["json", "env-filter"], optional = true }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
crossterm = { version = "0.29.0", optional = true }
[target.'cfg(unix)'.dependencies]
signal-hook = { version = "0.4.3", features = ["iterator"] }
[dev-dependencies]
criterion = { version = "0.5.1", features = ["html_reports"] }
portable-pty = "0.9.0"
proptest = "1.7.0"
[[bench]]
name = "read_optimized_bench"
harness = false