-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCargo.toml
More file actions
62 lines (53 loc) · 1.52 KB
/
Cargo.toml
File metadata and controls
62 lines (53 loc) · 1.52 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
[package]
name = "pstop"
version = "0.5.4"
edition = "2021"
description = "htop for Windows — beautiful, fast TUI system monitor with per-core CPU bars, memory/swap/network, tree view, process management, 7 color schemes, mouse support. Drop-in htop replacement for PowerShell & Windows Terminal."
license = "MIT"
repository = "https://github.com/marlocarlo/pstop"
homepage = "https://github.com/marlocarlo/pstop"
documentation = "https://github.com/marlocarlo/pstop#readme"
readme = "README.md"
keywords = ["htop", "top", "system-monitor", "process-viewer", "windows"]
categories = ["command-line-utilities", "os::windows-apis"]
authors = ["marlocarlo"]
exclude = ["target/", "image.png", ".github/"]
[[bin]]
name = "pstop"
path = "src/main.rs"
[[bin]]
name = "htop"
path = "src/bin/htop.rs"
[dependencies]
# TUI framework
ratatui = "0.30"
crossterm = "0.29"
# System information
sysinfo = "0.38"
# Windows-specific APIs
windows = { version = "0.62", features = [
"Win32_Foundation",
"Win32_System_Threading",
"Win32_System_ProcessStatus",
"Win32_Security",
"Win32_System_SystemInformation",
"Win32_System_Diagnostics_ToolHelp",
"Win32_System_Performance",
"Win32_System_LibraryLoader",
"Win32_System_Memory",
"Win32_System_Registry",
"Win32_System_Console",
] }
ntapi = "0.4"
# Error handling
anyhow = "1"
# Time handling
chrono = "0.4"
# Unicode width for proper column alignment
unicode-width = "0.2.2"
[profile.release]
opt-level = 3
lto = true
strip = true
codegen-units = 1
panic = "abort"