[package]
edition = "2021"
rust-version = "1.82"
name = "rtb-tui"
version = "0.6.1"
authors = ["Matt Cockayne <matt@phpboyscout.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reusable TUI widgets: forms, wizards, prompts, tables. Part of the phpboyscout Rust toolkit."
homepage = "https://tui.rust.phpboyscout.uk"
documentation = "https://docs.rs/rtb-tui"
readme = "README.md"
keywords = [
"tui",
"wizard",
"spinner",
"prompt",
"cli",
]
categories = [
"command-line-interface",
"development-tools",
]
license = "MIT"
repository = "https://gitlab.com/phpboyscout/rust/tui"
[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.91"
[dependencies.console]
version = "0.16.4"
[dependencies.inquire]
version = "0.9.4"
[dependencies.miette]
version = "7.6.0"
features = ["fancy"]
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.150"
[dependencies.tabled]
version = "0.21.0"
features = ["derive"]
[dependencies.thiserror]
version = "2.0.19"
[dev-dependencies.tokio]
version = "1.53.0"
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"