summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 693d3259c5b289ecb8307f1c4c76c2308076ac58 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "gbm"
version = "0.14.2"
authors = ["Victoria Brekenfeld <github@drakulix.de>"]
exclude = [
    ".gitignore",
    ".travis.yml",
    ".rustfmt.toml",
    ".github",
]
description = "libgbm bindings for rust"
documentation = "https://docs.rs/gbm"
readme = "README.md"
keywords = [
    "wayland",
    "gbm",
    "drm",
    "bindings",
]
categories = ["external-ffi-bindings"]
license = "MIT"
repository = "https://github.com/Smithay/gbm.rs"

[dependencies.bitflags]
version = "1.2"

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

[dependencies.drm-fourcc]
version = "2.2"

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

[dependencies.libc]
version = "0.2"

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

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

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

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