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