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.9.0" |
6 | license = "MIT" |
7 | authors = ["Tyler Slabinski <tslabinski@slabity.net>" , "Victoria Brekenfeld <crates-io@drakulix.de>" ] |
8 | exclude = [".gitignore" , ".github" ] |
9 | rust-version = "1.63" |
10 | |
11 | [dependencies] |
12 | bitflags = "1" |
13 | bytemuck = { version = "1.12" , features = ["extern_crate_alloc" , "derive" ] } |
14 | drm-ffi = { path = "drm-ffi" , version = "0.5.0" } |
15 | drm-fourcc = "^2.2.0" |
16 | |
17 | [dependencies.nix] |
18 | version = "0.26.0" |
19 | default-features = false |
20 | features = ["mman" ] |
21 | |
22 | [dev-dependencies] |
23 | image = { version = "^0.23.14" , default-features = false, features = ["png" ] } |
24 | rustyline = "^8.0.0" |
25 | |
26 | [features] |
27 | use_bindgen = ["drm-ffi/use_bindgen" ] |
28 | |
29 | [workspace] |
30 | members = [ |
31 | "drm-ffi" , |
32 | "drm-ffi/drm-sys" , |
33 | ] |
34 | |