-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
120 lines (94 loc) · 2.01 KB
/
Cargo.toml
File metadata and controls
120 lines (94 loc) · 2.01 KB
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
111
112
113
114
115
116
117
118
119
120
[workspace]
resolver = "2"
members = [
"ctui-core",
"ctui-macros",
"ctui-layout",
"ctui-components",
"ctui-animate",
"ctui-theme",
"ctui-cli",
"ctui-tests", "ctui-wasm",
]
default-members = ["ctui-core"]
[workspace.package]
version = "0.0.2"
edition = "2021"
license = "MIT"
repository = "https://github.com/CortexLM/cTUI"
[workspace.dependencies]
tokio = { version = "1", features = ["full"] }
crossterm = "0.28"
miette = "7"
ratatui = "0.29"
criterion = "0.5"
insta = "1.42"
rstest = "0.25"
proptest = "1.6"
unicode-width = "0.2"
bitflags = "2.8"
syn = { version = "2", features = ["full", "parsing", "extra-traits"] }
quote = "1"
proc-macro2 = "1"
[workspace.lints.rust]
unsafe_code = "deny"
missing_docs = "warn"
[workspace.lints.clippy]
all = "warn"
pedantic = "warn"
nursery = "warn"
[profile.release]
lto = true
opt-level = 3
# Benchmark package for baseline measurements
[package]
name = "ctui-benches"
version = "0.0.2"
edition = "2021"
publish = false
[features]
default = []
component-pool = ["ctui-core/component-pool"]
[dependencies]
ctui-core = { path = "ctui-core" }
ctui-components = { path = "ctui-components" }
ctui-animate = { path = "ctui-animate" }
ctui-layout = { path = "ctui-layout" }
[dev-dependencies]
ratatui = { workspace = true }
criterion = { workspace = true }
crossterm = { workspace = true }
[[bench]]
name = "ratatui_baseline"
harness = false
[[bench]]
name = "buffer_diff"
harness = false
[[bench]]
name = "buffer_memory"
harness = false
[[bench]]
name = "message_dispatch"
harness = false
required-features = ["component-pool"]
[[example]]
name = "counter"
path = "examples/counter.rs"
[[example]]
name = "todo"
path = "examples/todo.rs"
[[example]]
name = "dashboard"
path = "examples/dashboard.rs"
[[example]]
name = "file_explorer"
path = "examples/file_explorer.rs"
[[example]]
name = "animation"
path = "examples/animation.rs"
[[example]]
name = "minimal"
path = "examples/minimal.rs"
[[example]]
name = "render_gallery"
path = "scripts/render_gallery.rs"