-
-
Notifications
You must be signed in to change notification settings - Fork 71
/
Cargo.toml
38 lines (33 loc) · 1.04 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
[package]
name = "systemstat"
version = "0.2.4"
edition = "2018"
authors = [ "Val Packett <[email protected]>" ]
keywords = [ "System", "Info" ]
description = "Get system information/statistics in a cross-platform way"
license = "Unlicense"
readme = "README.md"
homepage = "https://github.com/valpackett/systemstat"
repository = "https://github.com/valpackett/systemstat"
[dependencies]
time = "0.3.9"
lazy_static = "1.0"
bytesize = "1.1"
libc = "0.2"
the_serde = { package = "serde", version = "1.0", features = ["derive"], optional = true }
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
nom = "7.0"
[target.'cfg(windows)'.dependencies.winapi]
version = "0.3"
features = ["fileapi", "sysinfoapi", "minwindef", "winbase", "winerror", "ws2def", "ws2ipdef", "pdh"]
[package.metadata.docs.rs]
targets = [
"x86_64-unknown-freebsd",
"x86_64-unknown-openbsd",
"x86_64-unknown-netbsd",
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc"
]
[features]
serde = ["the_serde", "bytesize/serde", "time/serde"]