[go: up one dir, main page]

ratatui 0.30.0-alpha.3

A library that's all about cooking up terminal user interfaces
Documentation
[[bench]]
harness = false
name = "main"
path = "benches/main.rs"

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

[dependencies.instability]
version = "0.3.7"

[dependencies.palette]
optional = true
version = "0.7.6"

[dependencies.ratatui-core]
version = "0.1.0-alpha.4"

[dependencies.ratatui-crossterm]
optional = true
version = "0.1.0-alpha.3"

[dependencies.ratatui-macros]
optional = true
version = "0.7.0-alpha.2"

[dependencies.ratatui-termwiz]
optional = true
version = "0.1.0-alpha.3"

[dependencies.ratatui-widgets]
version = "0.3.0-alpha.3"

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

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

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

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

[dev-dependencies.crossterm]
features = ["event-stream"]
version = "0.29.0"

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

[dev-dependencies.futures]
version = "0.3.30"

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

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

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

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

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

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

[dev-dependencies.time]
features = ["local-offset"]
version = "0.3.39"

[dev-dependencies.tokio]
features = ["rt", "macros", "time", "rt-multi-thread"]
version = "1.44.2"

[dev-dependencies.tracing]
version = "0.1.40"

[dev-dependencies.tracing-appender]
version = "0.2.3"

[dev-dependencies.tracing-subscriber]
features = ["env-filter"]
version = "0.3.18"

[features]
all-widgets = ["widget-calendar"]
crossterm = ["std", "dep:ratatui-crossterm"]
default = ["crossterm", "underline-color", "all-widgets", "macros", "layout-cache"]
layout-cache = ["std", "ratatui-core/layout-cache"]
macros = ["dep:ratatui-macros"]
palette = ["ratatui-core/palette", "dep:palette"]
scrolling-regions = ["ratatui-core/scrolling-regions", "ratatui-crossterm?/scrolling-regions", "ratatui-termion?/scrolling-regions", "ratatui-termwiz?/scrolling-regions"]
serde = ["dep:serde", "ratatui-core/serde", "ratatui-widgets/serde", "ratatui-crossterm?/serde", "ratatui-termion?/serde", "ratatui-termwiz?/serde"]
std = ["ratatui-core/std", "ratatui-widgets/std"]
termion = ["std", "dep:ratatui-termion"]
termwiz = ["std", "dep:ratatui-termwiz"]
underline-color = ["ratatui-core/underline-color", "ratatui-crossterm?/underline-color", "ratatui-termwiz?/underline-color"]
unstable = ["unstable-rendered-line-info", "unstable-widget-ref", "unstable-backend-writer"]
unstable-backend-writer = ["ratatui-crossterm?/unstable-backend-writer", "ratatui-termion?/unstable-backend-writer"]
unstable-rendered-line-info = ["ratatui-widgets/unstable-rendered-line-info"]
unstable-widget-ref = []
widget-calendar = ["ratatui-widgets/calendar"]

[lib]
bench = false
name = "ratatui"
path = "src/lib.rs"

[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_inception = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_ref_mut = "warn"
needless_raw_strings = "warn"
or_fun_call = "warn"
redundant_type_annotations = "warn"
rest_pat_in_fully_bound_structs = "warn"
string_lit_chars_any = "warn"
string_slice = "warn"
string_to_string = "warn"
unnecessary_self_imports = "warn"
use_self = "warn"

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

[lints.rust]
unsafe_code = "forbid"

[package]
authors = ["Florian Dehau <work@fdehau.com>", "The Ratatui Developers"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
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/ratatui"
rust-version = "1.81.0"
version = "0.30.0-alpha.3"

[package.metadata.docs.rs]
all-features = true
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
rustdoc-args = ["--cfg", "docsrs"]

[target."cfg(not(windows))".dependencies.ratatui-termion]
optional = true
version = "0.1.0-alpha.3"

[[test]]
name = "backend_termion"
path = "tests/backend_termion.rs"

[[test]]
name = "state_serde"
path = "tests/state_serde.rs"
required-features = ["serde"]

[[test]]
name = "stateful_widget_ref_dyn"
path = "tests/stateful_widget_ref_dyn.rs"

[[test]]
name = "stylize"
path = "tests/stylize.rs"

[[test]]
name = "terminal"
path = "tests/terminal.rs"

[[test]]
name = "widgets_barchart"
path = "tests/widgets_barchart.rs"

[[test]]
name = "widgets_block"
path = "tests/widgets_block.rs"

[[test]]
name = "widgets_calendar"
path = "tests/widgets_calendar.rs"

[[test]]
name = "widgets_canvas"
path = "tests/widgets_canvas.rs"

[[test]]
name = "widgets_chart"
path = "tests/widgets_chart.rs"

[[test]]
name = "widgets_gauge"
path = "tests/widgets_gauge.rs"

[[test]]
name = "widgets_list"
path = "tests/widgets_list.rs"

[[test]]
name = "widgets_paragraph"
path = "tests/widgets_paragraph.rs"

[[test]]
name = "widgets_table"
path = "tests/widgets_table.rs"

[[test]]
name = "widgets_tabs"
path = "tests/widgets_tabs.rs"