libdrm_amdgpu_sys 0.8.15

libdrm_amdgpu bindings for Rust, and some methods ported from Mesa3D.
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 = "2024"
name = "libdrm_amdgpu_sys"
version = "0.8.15"
authors = ["Umio Yasuno <coelacanth_dream@proton.me>"]
build = "build.rs"
links = "drm, drm_amdgpu"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "libdrm_amdgpu bindings for Rust, and some methods ported from Mesa3D."
readme = "README.md"
keywords = [
    "amdgpu",
    "libdrm",
]
license = "MIT"
repository = "https://github.com/Umio-Yasuno/libdrm-amdgpu-sys-rs"

[features]
buildtime_bindgen = [
    "dep:bindgen",
    "dep:pkg-config",
]
convert_amdgpu_ids = []
default = ["link_drm"]
dynamic_loading = ["dep:libloading"]
link_drm = []

[lib]
name = "libdrm_amdgpu_sys"
path = "lib.rs"
doctest = false

[[example]]
name = "amdgpu_info"
path = "examples/amdgpu_info.rs"
required-features = []

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

[[example]]
name = "gpu_metrics"
path = "examples/gpu_metrics.rs"
required-features = []

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

[[example]]
name = "pp_table"
path = "examples/pp_table.rs"
required-features = []

[[example]]
name = "stable_pstate"
path = "examples/stable_pstate.rs"
required-features = []

[[example]]
name = "vbios_dump"
path = "examples/vbios_dump.rs"
required-features = []

[[example]]
name = "vbios_parser"
path = "examples/vbios_parser.rs"
required-features = []

[dependencies.libc]
version = "0.2"
default-features = false

[dependencies.libloading]
version = "0.8"
optional = true

[build-dependencies.bindgen]
version = "0.72"
optional = true

[build-dependencies.pkg-config]
version = "0.3"
optional = true