nvml-wrapper 0.12.0

A safe and ergonomic Rust wrapper for the NVIDIA Management Library
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.60.0"
name = "nvml-wrapper"
version = "0.12.0"
authors = ["Cldfire"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A safe and ergonomic Rust wrapper for the NVIDIA Management Library"
documentation = "https://docs.rs/nvml-wrapper"
readme = "README.md"
keywords = [
    "nvidia",
    "gpu",
    "managment",
    "monitoring",
    "hardware",
]
categories = [
    "api-bindings",
    "hardware-support",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Cldfire/nvml-wrapper"

[features]
default = []
legacy-functions = ["nvml-wrapper-sys/legacy-functions"]
serde = [
    "dep:serde",
    "dep:serde_derive",
    "bitflags/serde",
]

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

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

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

[dependencies.bitflags]
version = "2.4.0"

[dependencies.libloading]
version = "0.8.1"

[dependencies.nvml-wrapper-sys]
version = "0.9.0"

[dependencies.serde]
version = "1.0"
optional = true

[dependencies.serde_derive]
version = "1.0"
optional = true

[dependencies.static_assertions]
version = "1.1"

[dependencies.thiserror]
version = "1.0"

[dependencies.wrapcenum-derive]
version = "0.4.1"

[dev-dependencies.pretty-bytes]
version = "0.2"