1[package]
2name = "drm"
3description = "Safe, low-level bindings to the Direct Rendering Manager API"
4repository = "https://github.com/Smithay/drm-rs"
5version = "0.9.0"
6license = "MIT"
7authors = ["Tyler Slabinski <tslabinski@slabity.net>", "Victoria Brekenfeld <crates-io@drakulix.de>"]
8exclude = [".gitignore", ".github"]
9rust-version = "1.63"
10
11[dependencies]
12bitflags = "1"
13bytemuck = { version = "1.12", features = ["extern_crate_alloc", "derive"] }
14drm-ffi = { path = "drm-ffi", version = "0.5.0" }
15drm-fourcc = "^2.2.0"
16
17[dependencies.nix]
18version = "0.26.0"
19default-features = false
20features = ["mman"]
21
22[dev-dependencies]
23image = { version = "^0.23.14", default-features = false, features = ["png"] }
24rustyline = "^8.0.0"
25
26[features]
27use_bindgen = ["drm-ffi/use_bindgen"]
28
29[workspace]
30members = [
31 "drm-ffi",
32 "drm-ffi/drm-sys",
33]
34