-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathCargo.toml
More file actions
70 lines (62 loc) · 1.67 KB
/
Copy pathCargo.toml
File metadata and controls
70 lines (62 loc) · 1.67 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
[package]
name = "macmon"
version = "0.8.1"
edition = "2024"
description = "Apple Silicon system monitor & Rust library — CPU/GPU power, temperature, RAM. No sudo. TUI, JSON pipe, Prometheus exporter."
authors = ["vladkens"]
license = "MIT"
repository = "https://github.com/vladkens/macmon"
homepage = "https://github.com/vladkens/macmon"
documentation = "https://docs.rs/macmon"
readme = "readme.md"
include = [
"src_app/**",
"src_lib/**",
"Cargo.toml",
"Cargo.lock",
"LICENSE",
"readme.md",
]
keywords = ["macos", "apple-silicon", "monitoring", "prometheus", "tui"]
categories = ["command-line-utilities", "hardware-support", "visualization"]
[package.metadata.docs.rs]
no-default-features = true
targets = ["aarch64-apple-darwin"]
[lib]
name = "macmon"
path = "src_lib/lib.rs"
[[bin]]
name = "macmon"
path = "src_app/main.rs"
required-features = ["app"]
[features]
default = ["app"]
app = [
"dep:chrono",
"dep:clap",
"dep:num-traits",
"dep:ratatui",
"dep:serde-inline-default",
]
[lints.rust]
non_camel_case_types = "allow"
unreachable_code = "allow"
unused_assignments = "allow"
unused_imports = "deny"
[lints.clippy]
needless_range_loop = "allow"
single_match = "allow"
[profile.release]
panic = "abort"
strip = false
lto = false
[dependencies]
chrono = { version = "0.4.45", optional = true }
clap = { version = "4.6.4", features = ["derive"], optional = true }
core-foundation = "0.10.1"
libc = "0.2.189"
num-traits = { version = "0.2.19", optional = true }
ratatui = { version = "0.30.2", features = ["serde"], optional = true }
serde = { version = "1.0.229", features = ["derive"] }
serde-inline-default = { version = "1.0.2", optional = true }
serde_json = "1.0.151"