• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[package]
2name = "gbm"
3description = "libgbm bindings for rust"
4license = "MIT"
5documentation = "https://docs.rs/gbm"
6repository = "https://github.com/Smithay/gbm.rs"
7version = "0.14.2"
8keywords = ["wayland", "gbm", "drm", "bindings"]
9categories = ["external-ffi-bindings"]
10authors = ["Victoria Brekenfeld <github@drakulix.de>"]
11exclude = [".gitignore", ".travis.yml", ".rustfmt.toml", ".github"]
12edition = "2021"
13
14[dependencies]
15libc = "0.2"
16bitflags = "1.2"
17drm-fourcc = "2.2"
18
19[dependencies.gbm-sys]
20version = "0.3.0"
21path = "./gbm-sys"
22
23[dependencies.drm]
24version = "0.11.0"
25optional = true
26
27[dependencies.wayland-server]
28version = "0.31"
29optional = true
30
31[dependencies.wayland-backend]
32version = "0.3"
33features = ["server_system"]
34optional = true
35
36[dev-dependencies.drm]
37version = "0.11.0"
38
39[features]
40default = ["import-wayland", "import-egl", "drm-support"]
41import-wayland = ["wayland-server", "wayland-backend"]
42import-egl = []
43drm-support = ["drm"]
44use_bindgen = ["gbm-sys/use_bindgen"]
45
46[workspace]
47members = [
48  "gbm-sys"
49]
50