mirror of
https://github.com/uutils/platform-info.git
synced 2026-10-16 02:48:46 -07:00
32 lines
899 B
TOML
32 lines
899 B
TOML
[package]
|
|
name = "platform-info"
|
|
version = "2.2.0"
|
|
edition = "2018"
|
|
rust-version = "1.65.0"
|
|
description = "A simple cross-platform interface to get info about a system"
|
|
|
|
homepage = "https://github.com/uutils/platform-info"
|
|
repository = "https://github.com/uutils/platform-info"
|
|
readme = "README.md"
|
|
keywords = ["platform", "info", "system"]
|
|
categories = ["os"]
|
|
license = "MIT"
|
|
|
|
# spell-checker:ignore (crates) libc (features) libloaderapi processthreadsapi sysinfoapi winbase winver
|
|
|
|
[target.'cfg(not(target_os = "windows"))'.dependencies]
|
|
libc = "0.2.154"
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
windows-sys = { version = ">=0.60, <0.62", features = [
|
|
"Win32_Foundation",
|
|
"Win32_Storage_FileSystem",
|
|
"Win32_System_LibraryLoader",
|
|
"Win32_System_SystemInformation",
|
|
"Win32_System_SystemServices",
|
|
"Win32_System_Threading",
|
|
] }
|
|
|
|
[dev-dependencies]
|
|
regex = "1.10.4"
|