forked from Cateds/opencode-stats
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (52 loc) · 1.63 KB
/
Copy pathCargo.toml
File metadata and controls
55 lines (52 loc) · 1.63 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
[package]
name = "opencode-stats"
description = "A terminal dashboard for OpenCode usage statistics inspired by the /stats command in Claude Code"
version = "1.4.2"
edition = "2024"
authors = ["Cateds <this.id.was.used@outlook.com>"]
license = "MIT"
repository = "https://github.com/Cateds/opencode-stats"
categories = ["command-line-utilities", "visualization"]
keywords = ["opencode", "cli", "tui", "dashboard", "statistics"]
readme = "README.md"
[[bin]]
name = "oc-stats"
path = "src/main.rs"
[dependencies]
ab_glyph = "0.2.32"
arboard = "3.6.1"
chrono = { version = "0.4.44", features = ["serde"] }
clap = { version = "4.6.1", features = ["derive"] }
crossterm = { version = "0.29.0", features = ["event-stream"] }
dirs = "6.0.0"
image = "0.25.10"
imageproc = "0.26.2"
tiny-skia = "0.12.0"
json5 = "1.3.1"
ratatui = "0.30.0"
reqwest = { version = "0.13.4", features = ["json"] }
rusqlite = { version = "0.40.0", features = ["bundled"] }
rust_decimal = { version = "1.42.0", features = ["serde"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.150"
toml = "1.1.2"
thiserror = "2.0.18"
tokio = { version = "1.52.3", features = [
"sync",
"rt-multi-thread",
"macros",
"time",
] }
colored = "3.1.1"
terminal-light = "1.8.0"
itertools = "0.14.0"
nucleo-matcher = "0.3"
unicode-width = "0.2.2"
futures = "0.3.32"
clap_complete = "4.6.5"
color-eyre = "0.6.5"
[profile.release]
codegen-units = 1 # Allows compiler to perform better optimization.
lto = true # Enables Link-time Optimization.
opt-level = "s" # Prioritizes small binary size. Use `3` if you prefer speed.
strip = true # Ensures debug symbols are removed.