gpuviewer-core 0.1.1

Telemetry core for gpuviewer: vendor backends, data model, event derivation
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.95"
name = "gpuviewer-core"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Telemetry core for gpuviewer: vendor backends, data model, event derivation"
homepage = "https://singhpratech.github.io/gpuviewer/"
documentation = "https://docs.rs/gpuviewer-core"
readme = "README.md"
keywords = [
    "gpu",
    "nvidia",
    "amd",
    "telemetry",
    "monitoring",
]
categories = [
    "hardware-support",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/singhpratech/gpuviewer"

[features]
apple = [
    "dep:core-foundation",
    "dep:dlopen2",
    "dep:objc2",
    "dep:objc2-metal",
    "dep:objc2-foundation",
]
default = [
    "nvidia",
    "wddm",
    "apple",
]
nvidia = ["dep:nvml-wrapper"]
wddm = ["dep:windows"]

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

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

[[test]]
name = "amd_fixtures"
path = "tests/amd_fixtures.rs"

[[test]]
name = "intel_fixtures"
path = "tests/intel_fixtures.rs"

[[test]]
name = "nvml_stub_loader"
path = "tests/nvml_stub_loader.rs"

[[test]]
name = "registry_dedupe"
path = "tests/registry_dedupe.rs"

[dependencies.serde]
version = "1"
features = ["derive"]

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

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

[target.'cfg(target_os = "macos")'.dependencies.dlopen2]
version = "0.8"
optional = true

[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6"
optional = true

[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3"
optional = true

[target.'cfg(target_os = "macos")'.dependencies.objc2-metal]
version = "0.3"
optional = true

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62.2"
features = [
    "Win32_Foundation",
    "Win32_System_Performance",
    "Win32_Graphics_Dxgi",
    "Wdk_Graphics_Direct3D",
    "Win32_System_Threading",
]
optional = true