ratatui 0.26.3

A library that's all about cooking up terminal user interfaces
Documentation
[[bench]]
harness = false
name = "barchart"

[[bench]]
harness = false
name = "block"

[[bench]]
harness = false
name = "line"

[[bench]]
harness = false
name = "list"

[[bench]]
harness = false
name = "paragraph"

[[bench]]
harness = false
name = "sparkline"

[[example]]
doc-scrape-examples = true
name = "barchart"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = true
name = "block"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = true
name = "canvas"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = true
name = "calendar"
required-features = ["crossterm", "widget-calendar"]

[[example]]
doc-scrape-examples = true
name = "chart"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = false
name = "colors"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = true
name = "colors_rgb"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = true
name = "custom_widget"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = false
name = "docsrs"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = true
name = "gauge"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = true
name = "hello_world"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = true
name = "layout"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = false
name = "constraints"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = true
name = "flex"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = true
name = "constraint-explorer"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = true
name = "list"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = false
name = "minimal"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = false
name = "modifiers"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = true
name = "panic"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = true
name = "paragraph"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = true
name = "popup"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = true
name = "ratatui-logo"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = true
name = "scrollbar"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = true
name = "sparkline"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = true
name = "table"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = true
name = "tabs"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = true
name = "user_input"
required-features = ["crossterm"]

[[example]]
doc-scrape-examples = true
name = "inline"
required-features = ["crossterm"]

[[test]]
name = "state_serde"
required-features = ["serde"]

[badges]
[dependencies.bitflags]
version = "2.3"

[dependencies.cassowary]
version = "0.3"

[dependencies.compact_str]
version = "0.7.1"

[dependencies.crossterm]
optional = true
version = "0.27"

[dependencies.document-features]
optional = true
version = "0.2.7"

[dependencies.itertools]
version = "0.12"

[dependencies.lru]
version = "0.12.0"

[dependencies.paste]
version = "1.0.2"

[dependencies.serde]
features = ["derive"]
optional = true
version = "1"

[dependencies.stability]
version = "0.2.0"

[dependencies.strum]
features = ["derive"]
version = "0.26"

[dependencies.termion]
optional = true
version = "3.0"

[dependencies.termwiz]
optional = true
version = "0.22.0"

[dependencies.time]
features = ["local-offset"]
optional = true
version = "0.3.11"

[dependencies.unicode-segmentation]
version = "1.10"

[dependencies.unicode-truncate]
version = "1"

[dependencies.unicode-width]
version = "0.1"
[dev-dependencies.anyhow]
version = "1.0.71"

[dev-dependencies.argh]
version = "0.1.12"

[dev-dependencies.better-panic]
version = "0.3.0"

[dev-dependencies.color-eyre]
version = "0.6.2"

[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5.1"

[dev-dependencies.derive_builder]
version = "0.20.0"

[dev-dependencies.fakeit]
version = "1.1"

[dev-dependencies.font8x8]
version = "0.3.1"

[dev-dependencies.indoc]
version = "2"

[dev-dependencies.palette]
version = "0.7.3"

[dev-dependencies.pretty_assertions]
version = "1.4.0"

[dev-dependencies.rand]
version = "0.8.5"

[dev-dependencies.rand_chacha]
version = "0.3.1"

[dev-dependencies.rstest]
version = "0.19.0"

[dev-dependencies.serde_json]
version = "1.0.109"

[features]
all-widgets = ["widget-calendar"]
crossterm = ["dep:crossterm"]
default = ["crossterm", "underline-color"]
macros = []
serde = ["dep:serde", "bitflags/serde", "compact_str/serde"]
termion = ["dep:termion"]
termwiz = ["dep:termwiz"]
underline-color = ["dep:crossterm"]
unstable = ["unstable-rendered-line-info", "unstable-widget-ref"]
unstable-rendered-line-info = []
unstable-widget-ref = []
widget-calendar = ["dep:time"]

[lib]
bench = false
[lints.clippy]
as_underscore = "warn"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
deref_by_slicing = "warn"
else_if_without_else = "warn"
empty_line_after_doc_comments = "warn"
equatable_if_let = "warn"
fn_to_numeric_cast_any = "warn"
format_push_string = "warn"
map_err_ignore = "warn"
missing_const_for_fn = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
mixed_read_write_in_expression = "warn"
mod_module_files = "warn"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_raw_strings = "warn"
redundant_type_annotations = "warn"
rest_pat_in_fully_bound_structs = "warn"
string_lit_chars_any = "warn"
string_to_string = "warn"
use_self = "warn"
wildcard_imports = "allow"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"

[package]
authors = ["Florian Dehau <work@fdehau.com>", "The Ratatui Developers"]
autoexamples = true
categories = ["command-line-interface"]
description = "A library that's all about cooking up terminal user interfaces"
documentation = "https://docs.rs/ratatui/latest/ratatui/"
edition = "2021"
exclude = ["assets/*", ".github", "Makefile.toml", "CONTRIBUTING.md", "*.log", "tags"]
homepage = "https://ratatui.rs"
keywords = ["tui", "terminal", "dashboard"]
license = "MIT"
name = "ratatui"
readme = "README.md"
repository = "https://github.com/ratatui-org/ratatui"
rust-version = "1.74.0"
version = "0.26.3"
[package.metadata.docs.rs]
all-features = true
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
rustdoc-args = ["--cfg", "docsrs"]