-
Notifications
You must be signed in to change notification settings - Fork 13
/
Cargo.toml
35 lines (30 loc) · 961 Bytes
/
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
[package]
name = "tui-input"
version = "0.11.1"
edition = "2021"
authors = ["Arijit Basu <[email protected]>"]
description = "TUI input library supporting multiple backends"
keywords = ["tui", "terminal", "input"]
repository = "https://github.com/sayanarijit/tui-input"
readme = "README.md"
license = "MIT"
autoexamples = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["crossterm"]
crossterm = ["dep:ratatui"]
serde = ["dep:serde"]
termion = ["dep:termion"]
[dependencies]
ratatui = { version = "0.29", optional = true }
serde = { version = "1.0.213", optional = true, features = ["derive"] }
termion = { version = "4.0.3", optional = true }
unicode-width = "0.2.0"
[[example]]
name = "crossterm_input"
path = "./examples/crossterm_input.rs"
required-features = ["crossterm"]
[[example]]
name = "termion_input"
path = "./examples/termion_input.rs"
required-features = ["termion"]