forked from rust-x-bindings/rust-xcb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
73 lines (64 loc) · 1.6 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[package]
name = "xcb"
version = "0.9.0"
authors = [ "Remi Thebault <[email protected]>" ]
description = "Rust bindings and wrappers for XCB"
repository = "https://github.com/rtbo/rust-xcb"
documentation = "http://rtbo.github.io/rust-xcb/xcb/"
readme = "README.md"
keywords = ["xcb", "window", "xlib", "x11", "opengl"]
license = "MIT"
exclude = [ "examples/*", "scripts/*" ]
build = "build.rs"
[build-dependencies]
libc = "0.2"
[dependencies]
libc = "0.2"
log = "0.4"
[dependencies.x11]
version = "2.3"
optional = true
features = ["xlib"]
[features]
xlib_xcb = ["x11/xlib"]
thread = []
composite = [ "xfixes" ]
damage = [ "xfixes" ]
dpms = []
dri2 = []
dri3 = []
ge = []
glx = []
present = [ "render", "xfixes", "sync" ]
randr = [ "render" ]
record = []
render = []
res = []
screensaver = []
shape = []
shm = []
sync = []
xevie = []
xf86dri = []
xf86vidmode = []
xfixes = [ "render", "shape" ]
xinerama = []
xinput = [ "xfixes" ]
xkb = []
xprint = []
xselinux = []
xtest = []
xvmc = [ "xv" ]
xv = [ "shm" ]
# ge and xf86vidmode are apparently nor built neither installed by libxcb C project
# extension xinput is broken
# all others are in debug_all whose purpose is to check build of extensions
debug_all = [ "thread", "composite", "damage", "dpms", "dri2", "dri3",
"glx", "randr", "record", "render", "res", "screensaver", "shape",
"shm", "xevie", "xf86dri", "xfixes", "xinerama", "xkb",
"xprint", "xselinux", "xtest", "xvmc", "xv", "xlib_xcb" ]
# cargo does not seam to support example.features yet.
# That is addressed in cargo/#1570
#[[example]]
#name = "randr_crtc_info"
#features = "randr"