[package]
edition = "2024"
name = "aether-tui"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight terminal UI rendering library for building rich CLI applications"
readme = "README.md"
keywords = [
"tui",
"terminal",
"cli",
"ui",
"component",
]
categories = ["command-line-interface"]
license = "MIT"
repository = "https://github.com/jcarver989/aether"
[package.metadata.dist]
dist = false
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = [
"syntax",
"picker",
]
picker = ["dep:nucleo"]
syntax = [
"dep:syntect",
"dep:two-face",
"dep:pulldown-cmark",
]
testing = []
[lib]
name = "tui"
path = "src/lib.rs"
[[example]]
name = "tui_gallery"
path = "examples/tui_gallery.rs"
[[test]]
name = "combobox"
path = "tests/combobox.rs"
[[test]]
name = "components"
path = "tests/components.rs"
[[test]]
name = "markdown"
path = "tests/markdown.rs"
[dependencies.crossterm]
version = "0.29"
features = ["event-stream"]
[dependencies.nucleo]
version = "0.5.0"
optional = true
[dependencies.pulldown-cmark]
version = "0.13"
optional = true
[dependencies.serde_json]
version = "1.0.149"
[dependencies.syntect]
version = "5.3"
features = ["default-fancy"]
optional = true
default-features = false
[dependencies.tokio]
version = "^1.49.0"
features = ["full"]
[dependencies.tracing]
version = "0.1.44"
[dependencies.two-face]
version = "0.5.1"
features = ["syntect-fancy"]
optional = true
default-features = false
[dependencies.unicode-width]
version = "0.2.2"
[dev-dependencies.crossterm]
version = "0.29"
features = ["event-stream"]
[dev-dependencies.tempfile]
version = "3.25"
[dev-dependencies.tokio]
version = "^1.49.0"
features = ["full"]
[lints.clippy]
absolute_paths = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
pub_underscore_fields = "allow"
return_self_not_must_use = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1