[package]
name = "hw-crossplatform"
version = "0.1.22"
edition = "2021"
license = "MIT"
description = "Crossplatform library for getting hardware info."
authors = ["Ilya <iosdsbb@gmail.com>", "Leon <leofaraf@proton.me>"]

[dependencies]
serde = { version = "1.0.0", features = ["derive"] }
serde_json = "1.0.0"
sysinfo = "0.31.2"
wmi = "0.13.3"
num_cpus = "1.16.0"
smbios-lib = "0.9.1"
display-info = "0.5.1"
wgpu = "22.1.0"

[dependencies.windows]
version = "0.58.0"
features = [
   "Data_Xml_Dom",
   "Win32_Foundation",
   "Win32_Security",
   "Win32_System_Threading",
   "Win32_UI_WindowsAndMessaging",
   "Win32_Storage_FileSystem"
]

[target.x86_64-unknown-linux-gnu.dependencies]
linux-info = "0.1.16"
xcb = "1.4.0"

[profile.dev]
opt-level = 0

[profile.release]
opt-level = 3
