summaryrefslogtreecommitdiff
path: root/Cargo.toml.orig
blob: ecc5649e4471222a735e612d5263547a71fc0489 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[package]
name = "gbm"
description = "libgbm bindings for rust"
license = "MIT"
documentation = "https://docs.rs/gbm"
repository = "https://github.com/Smithay/gbm.rs"
version = "0.14.2"
keywords = ["wayland", "gbm", "drm", "bindings"]
categories = ["external-ffi-bindings"]
authors = ["Victoria Brekenfeld <github@drakulix.de>"]
exclude = [".gitignore", ".travis.yml", ".rustfmt.toml", ".github"]
edition = "2021"

[dependencies]
libc = "0.2"
bitflags = "1.2"
drm-fourcc = "2.2"

[dependencies.gbm-sys]
version = "0.3.0"
path = "./gbm-sys"

[dependencies.drm]
version = "0.11.0"
optional = true

[dependencies.wayland-server]
version = "0.31"
optional = true

[dependencies.wayland-backend]
version = "0.3"
features = ["server_system"]
optional = true

[dev-dependencies.drm]
version = "0.11.0"

[features]
default = ["import-wayland", "import-egl", "drm-support"]
import-wayland = ["wayland-server", "wayland-backend"]
import-egl = []
drm-support = ["drm"]
use_bindgen = ["gbm-sys/use_bindgen"]

[workspace]
members = [
  "gbm-sys"
]