-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
71 lines (58 loc) · 1.57 KB
/
Copy pathCargo.toml
File metadata and controls
71 lines (58 loc) · 1.57 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
[package]
name = "termstack"
version = "0.0.0-dev"
description = "A generic TUI framework for building rich, navigable dashboards using simple YAML — no UI coding required."
authors = ["pa <pramodh.ayyappan@hotmail.com>"]
license = "MIT"
edition = "2024"
[dependencies]
# TUI Framework
crossterm = "0.28.1"
ratatui = "0.29.0"
color-eyre = "0.6.3"
unicode-width = "0.2"
# Async Runtime (optimized - only needed features)
tokio = { version = "1", features = ["rt-multi-thread", "sync", "time", "process", "io-util", "macros"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
# Data & Templates
tera = "1.20"
serde_json_path = "0.7"
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
# CLI
clap = { version = "4", features = ["derive"] }
# Utilities
anyhow = "1"
thiserror = "1"
async-trait = "0.1"
chrono = "0.4"
humantime = "2"
humansize = "2"
tui-input = "0.10"
regex = "1"
ansi-to-tui = "7"
# Syntax highlighting
tui-syntax-highlight = "0.1"
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
[[bench]]
name = "rendering"
harness = false
[[bench]]
name = "filtering"
harness = false
[[bench]]
name = "templates"
harness = false
[[bench]]
name = "search"
harness = false
# Read the optimization guideline for more details: https://ratatui.rs/recipes/apps/release-your-app/#optimizations
[profile.release]
codegen-units = 1
lto = true
opt-level = 3 # Maximum performance (changed from "s" for size)
strip = true
panic = "abort" # Smaller binary, faster panics