aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: 7d82025340cffaa5fa436fb890edfc7c77837911 (plain) (blame)
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
[package]
name = "textmode"
version = "0.3.0"
authors = ["Jesse Luehrs <doy@tozt.net>"]
edition = "2021"

description = "terminal interaction library backed by a real terminal parser"
repository = "https://git.tozt.net/textmode"
readme = "README.md"
keywords = ["curses", "vt100", "terminal", "tui"]
categories = ["asynchronous", "command-line-interface"]
license = "MIT"
include = ["src/**/*", "LICENSE", "README.md", "CHANGELOG.md"]

[dependencies]
itoa = "1.0.1"
nix = "0.23.1"
terminal_size = "0.1.17"
vt100 = "0.15.1"

tokio = { version = "1.17.0", features = ["io-std", "io-util", "rt", "rt-multi-thread"], optional = true }

[features]
default = []
async = ["tokio"]

[dev-dependencies]
assert_cmd = "2.0.4"
assert_fs = "1.0.7"
escargot = "0.5.7"
libc = "0.2.119"
pty-process = { version = "0.2.0", features = ["async"] }
tokio = { version = "1.17.0", features = ["full"] }

[patch.crates-io]
nix = { path = "../src/nix" }
pty-process = { path = "../pty-process" }