-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
61 lines (48 loc) · 1.14 KB
/
Cargo.toml
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
[package]
name = "sys_metrics"
version = "0.2.7"
authors = ["Martichou <[email protected]>"]
edition = "2018"
documentation = "https://docs.rs/sys_metrics"
repository = "https://github.com/Martichou/sys_metrics"
description = "Cross-platform library to gather stats/information from the host"
keywords = ["metrics", "sysinfo", "psutil", "stats", "heim"]
license = "AGPL-3.0"
readme = "README.md"
categories = ["os", "api-bindings"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
lazy_static = "1.4"
libc = "0.2"
serde = { version = "1.0", features = ["derive"] }
glob = "0.3"
[target.'cfg(target_os = "macos")'.dependencies]
core-foundation-sys = "0.8"
io-kit-sys = "0.3"
mach = "0.3"
[dev-dependencies]
criterion = "0.4"
[profile.release]
lto = true
opt-level = 3
codegen-units = 1
[lib]
bench = false
[[bench]]
name = "cpu_bench"
harness = false
[[bench]]
name = "disks_bench"
harness = false
[[bench]]
name = "memory_bench"
harness = false
[[bench]]
name = "host_bench"
harness = false
[[bench]]
name = "network_bench"
harness = false
[[bench]]
name = "virt_bench"
harness = false