-
Notifications
You must be signed in to change notification settings - Fork 19
/
Cargo.toml
58 lines (49 loc) · 1.35 KB
/
Cargo.toml
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
50
51
52
53
54
55
56
57
58
[package]
name = "gbm"
description = "libgbm bindings for rust"
license = "MIT"
documentation = "https://docs.rs/gbm"
repository = "https://github.com/Smithay/gbm.rs"
version = "0.16.1"
keywords = ["wayland", "gbm", "drm", "bindings"]
categories = ["external-ffi-bindings"]
authors = ["Victoria Brekenfeld <[email protected]>"]
exclude = [".gitignore", ".travis.yml", ".rustfmt.toml", ".github"]
edition = "2021"
[dependencies]
libc = "0.2"
bitflags = "2"
drm-fourcc = "2.2"
[dependencies.gbm-sys]
version = "0.3.1"
path = "./gbm-sys"
[dependencies.drm]
version = "0.14.0"
optional = true
[dependencies.wayland-server]
version = "0.31"
optional = true
[dependencies.wayland-backend]
version = "0.3"
features = ["server_system"]
optional = true
[dependencies.serde]
# Minimal serde version that can compile serde-annotated bitflags v2.
# Workaround that allows -Z minimal-versions build to succeed despite bitflags
# crate not declaring minimum versions of its dependencies precisely enough.
version = "1.0.103"
features = ["derive"]
optional = true
[dev-dependencies.drm]
version = "0.14.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"]
serde = ["dep:serde", "bitflags/serde"]
[workspace]
members = [
"gbm-sys"
]