1 | [package] |
2 | name = "drm" |
3 | description = "Safe, low-level bindings to the Direct Rendering Manager API" |
4 | repository = "https://github.com/Smithay/drm-rs" |
5 | version = "0.14.1" |
6 | license = "MIT" |
7 | authors = ["Tyler Slabinski <tslabinski@slabity.net>" , "Victoria Brekenfeld <crates-io@drakulix.de>" ] |
8 | exclude = [".gitignore" , ".github" ] |
9 | rust-version = "1.66" |
10 | edition = "2021" |
11 | |
12 | [dependencies] |
13 | bitflags = "2" |
14 | bytemuck = { version = "1.12" , features = ["extern_crate_alloc" , "derive" ] } |
15 | drm-ffi = { path = "drm-ffi" , version = "0.9.0" } |
16 | drm-fourcc = "^2.2.0" |
17 | rustix = { version = "0.38.22" , features = ["mm" , "fs" ] } |
18 | |
19 | [target.'cfg(target_os = "freebsd")'.dependencies] |
20 | libc = "0.2" |
21 | |
22 | [dev-dependencies] |
23 | image = { version = "0.24" , default-features = false, features = ["png" ] } |
24 | rustix = { version = "0.38.22" , features = ["event" , "mm" ] } |
25 | rustyline = "13" |
26 | |
27 | [features] |
28 | use_bindgen = ["drm-ffi/use_bindgen" ] |
29 | |
30 | [workspace] |
31 | members = [ |
32 | "drm-ffi" , |
33 | "drm-ffi/drm-sys" , |
34 | ] |
35 | |