forked from FillZpp/sys-info-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
40 lines (33 loc) · 966 Bytes
/
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
[package]
name = "sys_info_rs"
version = "1.1.0"
authors = ["Pieter Smit <[email protected]>", "Siyu Wang <[email protected]>"]
license = "MIT"
readme = "README.md"
keywords = ["system", "cpu", "disk", "memory", "information"]
repository = "https://github.com/diepes/sys-info-rs"
documentation = "https://docs.rs/sys-info"
description = """
Get system information in Rust.
For now it supports Linux, Mac OS X, illumos, Solaris, FreeBSD, OpenBSD, and Windows.
"""
# links = "info"
# build = "build.rs"
[lib]
name = "sys_info_rs"
path = "src/lib.rs"
[[bin]]
name = "sys-inf-rs"
path = "src/main.rs"
doc = false
# [build]
# rustflags = ["-C", "target-feature=+crt-static"]
# target = "x86_64-unknown-linux-gnu"
[net]
git-fetch-with-cli = true
[dependencies]
serde = {version = "1.0.163", features = ["derive"]}
serde_json = "1.0.96"
nix = "0.24.1"
# sys_info_rs = { path = "src/lib.rs" }
# sys-info-rs = { git = "https://github.com/diepes/sys-info-rs.git" }