# 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" name = "libdrm_amdgpu_sys" version = "0.7.5" authors = ["Umio Yasuno "] build = "build.rs" links = "drm, drm_amdgpu" 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" [lib] name = "libdrm_amdgpu_sys" path = "lib.rs" [[example]] name = "amdgpu_info" path = "examples/amdgpu_info.rs" required-features = ["std"] [[example]] name = "drm_mode" path = "examples/drm_mode.rs" [[example]] name = "gpu_metrics" path = "examples/gpu_metrics.rs" required-features = ["std"] [[example]] name = "ip_discovery" path = "examples/ip_discovery.rs" [[example]] name = "pp_table" path = "examples/pp_table.rs" required-features = ["std"] [[example]] name = "stable_pstate" path = "examples/stable_pstate.rs" required-features = ["std"] [[example]] name = "vbios_dump" path = "examples/vbios_dump.rs" required-features = ["std"] [[example]] name = "vbios_parser" path = "examples/vbios_parser.rs" required-features = ["std"] [dependencies.libc] version = "^0.2" default-features = false [build-dependencies.bindgen] version = "^0.69" optional = true [build-dependencies.pkg-config] version = "^0.3" optional = true [features] buildtime_bindgen = [ "bindgen", "pkg-config", ] default = [ "std", "link-drm", ] link-drm = [] std = []