2016-10-09 17:46:53 +00:00
|
|
|
[package]
|
2023-03-17 16:03:49 +00:00
|
|
|
name = "ratatui"
|
2023-05-29 10:09:00 +00:00
|
|
|
version = "0.21.0"
|
2016-11-08 09:29:42 +00:00
|
|
|
authors = ["Florian Dehau <work@fdehau.com>"]
|
2023-06-11 20:27:35 +00:00
|
|
|
description = "A library to build rich terminal user interfaces or dashboards"
|
2023-03-17 16:03:49 +00:00
|
|
|
documentation = "https://docs.rs/ratatui/latest/ratatui/"
|
2016-11-28 08:52:51 +00:00
|
|
|
keywords = ["tui", "terminal", "dashboard"]
|
2023-03-17 16:03:49 +00:00
|
|
|
repository = "https://github.com/tui-rs-revival/ratatui"
|
2021-01-01 13:35:07 +00:00
|
|
|
readme = "README.md"
|
2016-11-08 09:29:42 +00:00
|
|
|
license = "MIT"
|
2023-06-11 20:27:35 +00:00
|
|
|
exclude = [
|
|
|
|
"assets/*",
|
|
|
|
".github",
|
|
|
|
"Makefile.toml",
|
|
|
|
"CONTRIBUTING.md",
|
|
|
|
"*.log",
|
|
|
|
"tags",
|
|
|
|
]
|
2018-09-01 12:05:33 +00:00
|
|
|
autoexamples = true
|
2022-01-22 12:07:35 +00:00
|
|
|
edition = "2021"
|
2023-05-12 15:45:00 +00:00
|
|
|
rust-version = "1.65.0"
|
2016-10-09 17:46:53 +00:00
|
|
|
|
2017-05-21 12:07:44 +00:00
|
|
|
[badges]
|
|
|
|
|
2016-11-28 08:52:51 +00:00
|
|
|
[features]
|
2021-11-01 21:27:46 +00:00
|
|
|
default = ["crossterm"]
|
2023-04-26 21:02:35 +00:00
|
|
|
all-widgets = ["widget-calendar"]
|
|
|
|
widget-calendar = ["time"]
|
2023-05-21 22:26:39 +00:00
|
|
|
macros = []
|
2023-06-01 13:37:59 +00:00
|
|
|
serde = ["dep:serde", "bitflags/serde"]
|
2016-11-28 08:52:51 +00:00
|
|
|
|
2023-03-05 12:25:36 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
2023-05-24 19:58:04 +00:00
|
|
|
# see https://doc.rust-lang.org/nightly/rustdoc/scraped-examples.html
|
|
|
|
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
|
2023-03-05 12:25:36 +00:00
|
|
|
|
2016-10-09 17:46:53 +00:00
|
|
|
[dependencies]
|
2023-06-01 13:37:59 +00:00
|
|
|
bitflags = "2.3"
|
2018-09-04 20:00:45 +00:00
|
|
|
cassowary = "0.3"
|
2023-02-15 12:59:50 +00:00
|
|
|
crossterm = { version = "0.26", optional = true }
|
2023-06-02 14:03:34 +00:00
|
|
|
indoc = "2.0"
|
2023-06-11 20:27:35 +00:00
|
|
|
serde = { version = "1", optional = true, features = ["derive"] }
|
2023-06-02 14:03:34 +00:00
|
|
|
termion = { version = "2.0", optional = true }
|
|
|
|
termwiz = { version = "0.20.0", optional = true }
|
2023-06-11 20:27:35 +00:00
|
|
|
time = { version = "0.3.11", optional = true, features = ["local-offset"] }
|
2023-06-02 14:03:34 +00:00
|
|
|
unicode-segmentation = "1.10"
|
|
|
|
unicode-width = "0.1"
|
2019-05-15 17:33:11 +00:00
|
|
|
|
2016-10-12 17:43:39 +00:00
|
|
|
[dev-dependencies]
|
2023-06-01 13:22:18 +00:00
|
|
|
anyhow = "1.0.71"
|
2021-05-02 16:51:59 +00:00
|
|
|
rand = "0.8"
|
2020-03-13 01:02:51 +00:00
|
|
|
argh = "0.1"
|
2017-05-25 13:17:08 +00:00
|
|
|
|
|
|
|
[[example]]
|
2021-11-11 14:56:37 +00:00
|
|
|
name = "barchart"
|
|
|
|
required-features = ["crossterm"]
|
2023-05-24 19:58:04 +00:00
|
|
|
doc-scrape-examples = true
|
2021-11-11 14:56:37 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "block"
|
|
|
|
required-features = ["crossterm"]
|
2023-05-24 19:58:04 +00:00
|
|
|
doc-scrape-examples = true
|
2021-11-11 14:56:37 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "canvas"
|
|
|
|
required-features = ["crossterm"]
|
2023-05-24 19:58:04 +00:00
|
|
|
doc-scrape-examples = true
|
2021-11-11 14:56:37 +00:00
|
|
|
|
2023-04-26 21:02:35 +00:00
|
|
|
[[example]]
|
|
|
|
name = "calendar"
|
|
|
|
required-features = ["crossterm", "widget-calendar"]
|
2023-05-24 19:58:04 +00:00
|
|
|
doc-scrape-examples = true
|
2023-04-26 21:02:35 +00:00
|
|
|
|
2021-11-11 14:56:37 +00:00
|
|
|
[[example]]
|
|
|
|
name = "chart"
|
|
|
|
required-features = ["crossterm"]
|
2023-05-24 19:58:04 +00:00
|
|
|
doc-scrape-examples = true
|
2021-11-11 14:56:37 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "custom_widget"
|
|
|
|
required-features = ["crossterm"]
|
2023-05-24 19:58:04 +00:00
|
|
|
doc-scrape-examples = true
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "demo"
|
|
|
|
# this runs for all of the terminal backends, so it can't be built using --all-features or scraped
|
|
|
|
doc-scrape-examples = false
|
2021-11-11 14:56:37 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "gauge"
|
|
|
|
required-features = ["crossterm"]
|
2023-05-24 19:58:04 +00:00
|
|
|
doc-scrape-examples = true
|
2021-11-11 14:56:37 +00:00
|
|
|
|
2023-06-01 13:22:18 +00:00
|
|
|
[[example]]
|
|
|
|
name = "hello_world"
|
|
|
|
required-features = ["crossterm"]
|
|
|
|
doc-scrape-examples = true
|
|
|
|
|
2021-11-11 14:56:37 +00:00
|
|
|
[[example]]
|
|
|
|
name = "layout"
|
|
|
|
required-features = ["crossterm"]
|
2023-05-24 19:58:04 +00:00
|
|
|
doc-scrape-examples = true
|
2021-11-11 14:56:37 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "list"
|
|
|
|
required-features = ["crossterm"]
|
2023-05-24 19:58:04 +00:00
|
|
|
doc-scrape-examples = true
|
2021-11-11 14:56:37 +00:00
|
|
|
|
2022-04-24 14:49:57 +00:00
|
|
|
[[example]]
|
|
|
|
name = "panic"
|
|
|
|
required-features = ["crossterm"]
|
2023-05-24 19:58:04 +00:00
|
|
|
doc-scrape-examples = true
|
2022-04-24 14:49:57 +00:00
|
|
|
|
2021-11-11 14:56:37 +00:00
|
|
|
[[example]]
|
|
|
|
name = "paragraph"
|
|
|
|
required-features = ["crossterm"]
|
2023-05-24 19:58:04 +00:00
|
|
|
doc-scrape-examples = true
|
2021-11-11 14:56:37 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "popup"
|
|
|
|
required-features = ["crossterm"]
|
2023-05-24 19:58:04 +00:00
|
|
|
doc-scrape-examples = true
|
2021-11-11 14:56:37 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "sparkline"
|
|
|
|
required-features = ["crossterm"]
|
2023-05-24 19:58:04 +00:00
|
|
|
doc-scrape-examples = true
|
2021-11-11 14:56:37 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "table"
|
|
|
|
required-features = ["crossterm"]
|
2023-05-24 19:58:04 +00:00
|
|
|
doc-scrape-examples = true
|
2021-11-11 14:56:37 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "tabs"
|
|
|
|
required-features = ["crossterm"]
|
2023-05-24 19:58:04 +00:00
|
|
|
doc-scrape-examples = true
|
2021-11-11 14:56:37 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "user_input"
|
|
|
|
required-features = ["crossterm"]
|
2023-05-24 19:58:04 +00:00
|
|
|
doc-scrape-examples = true
|
2023-04-17 12:23:50 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "inline"
|
|
|
|
required-features = ["crossterm"]
|
2023-05-24 19:58:04 +00:00
|
|
|
doc-scrape-examples = true
|