[package]
edition = "2021"
rust-version = "1.70"
name = "drm-sys"
version = "0.8.1"
authors = ["Tyler Slabinski <tslabinski@slabity.net>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bindings to the Direct Rendering Manager API"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Smithay/drm-rs"
[features]
default = []
update_bindings = ["use_bindgen"]
use_bindgen = [
"bindgen",
"pkg-config",
]
[lib]
name = "drm_sys"
path = "src/lib.rs"
[build-dependencies.bindgen]
version = "0.70"
optional = true
[build-dependencies.pkg-config]
version = "0.3.19"
optional = true
[target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies.linux-raw-sys]
version = "0.9"
features = [
"general",
"no_std",
]
default-features = false
[target.'cfg(not(any(target_os = "android", target_os = "linux")))'.dependencies.libc]
version = "0.2"