[package]
edition = "2021"
rust-version = "1.82"
name = "rtb-tui"
version = "0.5.2"
authors = ["Matt Cockayne <matt@phpboyscout.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust Tool Base — reusable TUI widgets: forms, wizards, prompts, tables."
homepage = "https://rtb.phpboyscout.uk"
documentation = "https://rtb.phpboyscout.uk"
readme = "README.md"
keywords = [
"cli",
"framework",
"scaffolding",
"ai",
"mcp",
]
categories = [
"command-line-interface",
"development-tools",
]
license = "MIT"
repository = "https://gitlab.com/phpboyscout/rust-tool-base"
[lib]
name = "rtb_tui"
path = "src/lib.rs"
[[test]]
name = "render_table_dual"
path = "tests/render_table_dual.rs"
[[test]]
name = "spinner_no_tty"
path = "tests/spinner_no_tty.rs"
[[test]]
name = "wizard_back_navigation"
path = "tests/wizard_back_navigation.rs"
[[test]]
name = "wizard_cancellation"
path = "tests/wizard_cancellation.rs"
[[test]]
name = "wizard_state_threading"
path = "tests/wizard_state_threading.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.bon]
version = "3"
[dependencies.console]
version = "0.16"
[dependencies.inquire]
version = "0.8"
[dependencies.miette]
version = "7"
features = ["fancy"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tabled]
version = "0.20"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dev-dependencies.serde]
version = "1"
features = [
"derive",
"derive",
]
[dev-dependencies.tokio]
version = "1.47"
features = ["full"]
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"