-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
37 lines (31 loc) · 928 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
[package]
name = "systeminfo"
authors = ["Marirs <marirs@gmail.com>"]
description = "Gets the system hardware and os information"
keywords = ["hardware", "operatingsystem", "os", "system", "information"]
repository = "https://github.com/marirs/systeminfo-rs"
exclude = ["examples"]
readme = "README.md"
license = "MIT"
version = "0.1.7"
edition = "2021"
[dependencies]
libc = "0.2"
serde = { version = "1", features = ["derive"] }
chrono = "0.4.38"
[target.'cfg(target_os = "windows")'.dependencies]
wmi = "0.8.1"
winapi = { version = "0.3.9", features = ["sysinfoapi", "memoryapi", "iphlpapi","winnt", "winerror", "winreg", "ntstatus", "libloaderapi", "winuser", "processthreadsapi"] }
[lib]
name = "systeminfo"
path = "src/lib.rs"
[badges]
travis-ci = { repository = "marirs/systeminfo-rs" }
[profile.dev]
opt-level = 3
[profile.release]
codegen-units = 1
debug-assertions = false
debug = false
opt-level = 3
lto = true