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