gfxinfo 0.1.2

Rust library for querying GPU information
Documentation
[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "usage"
path = "examples/usage.rs"

[features]
amd = ["dep:libdrm_amdgpu_sys"]
default = ["amd", "nvidia", "intel", "gpu_info"]
gpu_info = []
intel = []
nvidia = ["dep:nvml-wrapper"]

[lib]
name = "gfxinfo"
path = "src/lib.rs"

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["hardware-support"]
description = "Rust library for querying GPU information"
edition = "2024"
keywords = ["gpu", "amd", "nvidia", "intel", "cross-platform"]
license = "Apache-2.0"
name = "gfxinfo"
readme = "README.md"
repository = "https://github.com/SpikeHD/gfxinfo"
version = "0.1.2"

[target.'cfg(any(target_os = "linux", target_os = "windows"))'.dependencies.nvml-wrapper]
optional = true
version = "0.10.0"

[target.'cfg(target_os = "linux")'.dependencies.libdrm_amdgpu_sys]
optional = true
version = "0.8.4"

[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10.0"

[target.'cfg(target_os = "macos")'.dependencies.io-kit-sys]
version = "0.4.1"

[target.'cfg(target_os = "windows")'.dependencies.serde]
version = "1.0.219"

[target.'cfg(target_os = "windows")'.dependencies.windows]
features = ["Win32_System_Performance", "Win32_Foundation"]
version = "0.61.1"

[target.'cfg(target_os = "windows")'.dependencies.wmi]
version = "0.15.1"