-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
Cargo.toml
50 lines (44 loc) · 1.4 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[package]
name = "tuirealm"
version = "2.0.3"
authors = ["Christian Visintin"]
edition = "2021"
categories = ["command-line-utilities"]
description = "A tui-rs framework to build tui interfaces, inspired by React and Elm."
documentation = "https://docs.rs/tuirealm"
homepage = "https://github.com/veeso/tui-realm"
include = ["examples/**/*", "src/**/*", "LICENSE", "README.md", "CHANGELOG.md"]
keywords = ["tui", "terminal"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/veeso/tui-realm"
[dependencies]
bitflags = "2"
crossterm = { version = "0.28", optional = true }
lazy-regex = "3"
ratatui = { version = "0.28", default-features = false }
serde = { version = "^1", features = ["derive"], optional = true }
termion = { version = "^4", optional = true }
thiserror = "1"
tuirealm_derive = { version = "2", optional = true }
[dev-dependencies]
pretty_assertions = "^1"
toml = "^0.8"
tempfile = "^3"
[features]
default = ["derive", "crossterm"]
derive = ["dep:tuirealm_derive"]
serialize = ["dep:serde", "bitflags/serde"]
crossterm = ["dep:crossterm", "ratatui/crossterm"]
termion = ["dep:termion", "ratatui/termion"]
[[example]]
name = "demo"
path = "examples/demo/demo.rs"
required-features = ["crossterm"]
[[example]]
name = "user-events"
path = "examples/user_events/user_events.rs"
required-features = ["crossterm"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]