-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
46 lines (40 loc) · 1.31 KB
/
Cargo.toml
File metadata and controls
46 lines (40 loc) · 1.31 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
[package]
name = "peak-mem"
version = "0.1.1"
edition = "2021"
authors = ["Peak-mem Development Team"]
description = "Lightweight memory usage monitor for any process"
repository = "https://git.sr.ht/~charmitro/peak-mem"
license = "MIT"
keywords = ["memory", "monitor", "profiling", "system", "performance"]
categories = ["command-line-utilities", "development-tools"]
[dependencies]
anyhow = "=1.0.95"
async-trait = "=0.1.83"
bytesize = "=1.3.0"
chrono = { version = "=0.4.39", features = ["serde"] }
clap = { version = "=4.5.23", features = ["derive", "cargo", "wrap_help"] }
crossterm = "=0.27.0"
csv = "=1.3.0"
dirs = "=5.0.1"
libc = "=0.2.169"
nix = { version = "=0.29.0", features = ["signal"] }
serde = { version = "=1.0.217", features = ["derive"] }
serde_json = "=1.0.139"
thiserror = "=2.0.11"
tokio = { version = "=1.43.1", features = ["full"] }
[profile.release]
lto = true
codegen-units = 1
strip = true
opt-level = 3
[target.'cfg(target_os = "linux")'.dependencies]
procfs = "0.17.0"
[target."cfg(windows)".dependencies]
winapi = { version = "0.3.9", features = ["processthreadsapi", "psapi", "handleapi", "synchapi", "winbase", "minwindef", "winnt", "memoryapi"] }
[target.'cfg(target_os = "freebsd")'.dependencies]
sysinfo = "=0.30.13"
[dev-dependencies]
assert_cmd = "=2.0.12"
predicates = "=3.1.0"
tempfile = "=3.15.0"