2016-10-09 17:46:53 +00:00
|
|
|
[package]
|
|
|
|
name = "tui"
|
2021-01-01 13:35:07 +00:00
|
|
|
version = "0.14.0"
|
2016-11-08 09:29:42 +00:00
|
|
|
authors = ["Florian Dehau <work@fdehau.com>"]
|
|
|
|
description = """
|
2016-11-28 08:52:51 +00:00
|
|
|
A library to build rich terminal user interfaces or dashboards
|
2016-11-08 09:29:42 +00:00
|
|
|
"""
|
2021-01-01 13:35:07 +00:00
|
|
|
documentation = "https://docs.rs/tui/0.14.0/tui/"
|
2016-11-28 08:52:51 +00:00
|
|
|
keywords = ["tui", "terminal", "dashboard"]
|
2016-11-08 09:29:42 +00:00
|
|
|
repository = "https://github.com/fdehau/tui-rs"
|
2021-01-01 13:35:07 +00:00
|
|
|
readme = "README.md"
|
2016-11-08 09:29:42 +00:00
|
|
|
license = "MIT"
|
2021-01-01 13:35:07 +00:00
|
|
|
exclude = ["assets/*", ".github", "Makefile.toml", "CONTRIBUTING.md", "*.log", "tags"]
|
2018-09-01 12:05:33 +00:00
|
|
|
autoexamples = true
|
2019-01-06 11:57:06 +00:00
|
|
|
edition = "2018"
|
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]
|
2019-05-07 12:15:30 +00:00
|
|
|
default = ["termion"]
|
2019-01-24 18:45:59 +00:00
|
|
|
curses = ["easycurses", "pancurses"]
|
2016-11-28 08:52:51 +00:00
|
|
|
|
2016-10-09 17:46:53 +00:00
|
|
|
[dependencies]
|
2018-09-04 20:00:45 +00:00
|
|
|
bitflags = "1.0"
|
|
|
|
cassowary = "0.3"
|
|
|
|
unicode-segmentation = "1.2"
|
|
|
|
unicode-width = "0.1"
|
2020-04-14 17:35:27 +00:00
|
|
|
termion = { version = "1.5", optional = true }
|
2018-09-04 20:00:45 +00:00
|
|
|
rustbox = { version = "0.11", optional = true }
|
2020-09-29 10:13:25 +00:00
|
|
|
crossterm = { version = "0.18", optional = true }
|
2019-01-24 18:45:59 +00:00
|
|
|
easycurses = { version = "0.12.2", optional = true }
|
2019-05-15 17:33:11 +00:00
|
|
|
pancurses = { version = "0.16.1", optional = true, features = ["win32a"] }
|
2020-05-27 21:28:38 +00:00
|
|
|
serde = { version = "1", "optional" = true, features = ["derive"]}
|
2019-05-15 17:33:11 +00:00
|
|
|
|
2016-10-12 17:43:39 +00:00
|
|
|
[dev-dependencies]
|
2019-11-29 08:20:31 +00:00
|
|
|
rand = "0.7"
|
2020-03-13 01:02:51 +00:00
|
|
|
argh = "0.1"
|
2017-05-25 13:17:08 +00:00
|
|
|
|
2019-07-16 05:57:53 +00:00
|
|
|
[[example]]
|
|
|
|
name = "canvas"
|
|
|
|
path = "examples/canvas.rs"
|
|
|
|
required-features = ["termion"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "user_input"
|
|
|
|
path = "examples/user_input.rs"
|
|
|
|
required-features = ["termion"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "gauge"
|
|
|
|
path = "examples/gauge.rs"
|
|
|
|
required-features = ["termion"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "barchart"
|
|
|
|
path = "examples/barchart.rs"
|
|
|
|
required-features = ["termion"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "chart"
|
|
|
|
path = "examples/chart.rs"
|
|
|
|
required-features = ["termion"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "paragraph"
|
|
|
|
path = "examples/paragraph.rs"
|
|
|
|
required-features = ["termion"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "list"
|
|
|
|
path = "examples/list.rs"
|
|
|
|
required-features = ["termion"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "table"
|
|
|
|
path = "examples/table.rs"
|
|
|
|
required-features = ["termion"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "tabs"
|
|
|
|
path = "examples/tabs.rs"
|
|
|
|
required-features = ["termion"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "custom_widget"
|
|
|
|
path = "examples/custom_widget.rs"
|
|
|
|
required-features = ["termion"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "layout"
|
|
|
|
path = "examples/layout.rs"
|
|
|
|
required-features = ["termion"]
|
|
|
|
|
2020-03-22 14:50:34 +00:00
|
|
|
[[example]]
|
|
|
|
name = "popup"
|
|
|
|
path = "examples/popup.rs"
|
|
|
|
required-features = ["termion"]
|
|
|
|
|
2019-07-16 05:57:53 +00:00
|
|
|
[[example]]
|
|
|
|
name = "block"
|
|
|
|
path = "examples/block.rs"
|
|
|
|
required-features = ["termion"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "sparkline"
|
|
|
|
path = "examples/sparkline.rs"
|
|
|
|
required-features = ["termion"]
|
|
|
|
|
2017-05-25 13:17:08 +00:00
|
|
|
[[example]]
|
2019-02-10 21:35:44 +00:00
|
|
|
name = "termion_demo"
|
|
|
|
path = "examples/termion_demo.rs"
|
|
|
|
required-features = ["termion"]
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "rustbox_demo"
|
|
|
|
path = "examples/rustbox_demo.rs"
|
2017-05-25 13:17:08 +00:00
|
|
|
required-features = ["rustbox"]
|
2018-09-04 17:55:35 +00:00
|
|
|
|
|
|
|
[[example]]
|
2019-02-10 21:35:44 +00:00
|
|
|
name = "crossterm_demo"
|
|
|
|
path = "examples/crossterm_demo.rs"
|
2018-09-04 17:55:35 +00:00
|
|
|
required-features = ["crossterm"]
|
2019-01-24 18:45:59 +00:00
|
|
|
|
2019-01-24 19:29:58 +00:00
|
|
|
[[example]]
|
|
|
|
name = "curses_demo"
|
|
|
|
path = "examples/curses_demo.rs"
|
2019-03-10 17:21:02 +00:00
|
|
|
required-features = ["curses"]
|