-
Notifications
You must be signed in to change notification settings - Fork 10
/
Cargo.toml
110 lines (88 loc) · 2.28 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[package]
name = "tui-term"
description = "A pseudoterminal widget for ratatui"
version = "0.1.13"
authors = ["Alexander Kenji Berthold <aks.kenji@protonmail.com>"]
edition = "2021"
include = [
"src/**/*",
"examples/*",
"benches/*",
"LICENSE",
"README.md",
"CHANGELOG.md",
"test/*",
]
license = "MIT"
readme = "README.md"
documentation = "https://docs.rs/tui-term/latest/tui-term/"
repository = "https://github.com/a-kenji/tui-term"
autoexamples = true
rust-version = "1.74.0"
keywords = ["tui", "terminal", "ratatui", "tty", "multiplexer"]
categories = ["command-line-interface", "command-line-utilities"]
[features]
default = ["vt100"]
unstable = ["dep:portable-pty"]
[dependencies]
ratatui = { version = "0.29.0", default-features = false }
vt100 = { version = "0.15.2", optional = true }
portable-pty = { version = "0.8.1", optional = true }
[dev-dependencies]
bytes = "1.8.0"
criterion = { version = "0.5.1", features = ["html_reports"] }
# divan now needs unstable rust, activate manually for now
divan = "0.1.15"
#TODO: go back to release version, once it is fixed
# iai = "0.1.1"
iai = { git = "https://github.com/sigaloid/iai", rev = "6c83e942" }
insta = "1.41.1"
once_cell = "1.20.2"
# for examples
# enable the features used in tests
ratatui = { version = "0.29.0", default-features = true }
crossterm = "0.28"
portable-pty = "0.8.1"
tokio = { version = "1", features = ["full"] }
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
[profile.dev.package.insta]
opt-level = 3
[profile.dev.package.similar]
opt-level = 3
[profile.bench]
lto = "thin"
[[bench]]
name = "benches"
harness = false
[[bench]]
name = "iai"
harness = false
[[bench]]
name = "divan"
harness = false
[[example]]
name = "simple_ls_chan"
doc-scrape-examples = true
[[example]]
name = "simple_ls_rw"
doc-scrape-examples = true
[[example]]
name = "long_running"
doc-scrape-examples = true
[[example]]
name = "nested_shell"
doc-scrape-examples = true
[[example]]
name = "nested_shell_async"
doc-scrape-examples = true
[[example]]
name = "simple_ls_controller"
required-features = ["unstable"]
[[example]]
name = "smux"
doc-scrape-examples = true
[package.metadata.docs.rs]
all-features = true
# see https://doc.rust-lang.org/nightly/rustdoc/scraped-examples.html
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]