| 1 | [package] |
| 2 | name = "drm-sys" |
| 3 | description = "Bindings to the Direct Rendering Manager API" |
| 4 | repository = "https://github.com/Smithay/drm-rs" |
| 5 | version = "0.8.0" |
| 6 | authors = ["Tyler Slabinski <tslabinski@slabity.net>" ] |
| 7 | license = "MIT" |
| 8 | build = "build.rs" |
| 9 | rust-version = "1.66" |
| 10 | edition = "2021" |
| 11 | |
| 12 | [features] |
| 13 | default = [] |
| 14 | use_bindgen = ["bindgen" , "pkg-config" ] |
| 15 | update_bindings = ["use_bindgen" ] |
| 16 | |
| 17 | [build-dependencies] |
| 18 | bindgen = { version = "0.69.1" , optional = true } |
| 19 | pkg-config = { version = "0.3.19" , optional = true } |
| 20 | |
| 21 | [target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies] |
| 22 | linux-raw-sys = { version = "0.6" , default-features = false, features = ["general" , "no_std" ] } |
| 23 | |
| 24 | [target.'cfg(not(any(target_os = "android", target_os = "linux")))'.dependencies] |
| 25 | libc = "0.2" |
| 26 | |