1 | [package] |
2 | name = "x11rb-protocol" |
3 | version = "0.13.0" |
4 | description = "Rust bindings to X11" |
5 | authors = [ |
6 | "Uli Schlachter <psychon@znc.in>" , |
7 | "Eduardo Sánchez Muñoz <eduardosm-dev@e64.io>" , |
8 | "notgull <jtnunley01@gmail.com>" , |
9 | ] |
10 | repository = "https://github.com/psychon/x11rb" |
11 | readme = "../README.md" |
12 | edition = "2021" |
13 | rust-version = "1.63" |
14 | license = "MIT OR Apache-2.0" |
15 | keywords = ["xcb" , "X11" ] |
16 | |
17 | [dependencies] |
18 | serde = { version = "1" , features = ["derive" ], optional = true } |
19 | |
20 | [dev-dependencies] |
21 | criterion = "0.5" |
22 | |
23 | [features] |
24 | default = ["std" ] |
25 | std = [] |
26 | |
27 | # Enable extra traits for the X11 types |
28 | extra-traits = [] |
29 | |
30 | # Enable parsing for requests. |
31 | # |
32 | # This adds a lot of extra code that isn't used in the common case. |
33 | request-parsing = [] |
34 | |
35 | # Enable utility functions in `x11rb::resource_manager` for querying the |
36 | # resource databases. |
37 | resource_manager = ["std" ] |
38 | |
39 | # Enable this feature to enable all the X11 extensions |
40 | all-extensions = [ |
41 | "composite" , |
42 | "damage" , |
43 | "dbe" , |
44 | "dpms" , |
45 | "dri2" , |
46 | "dri3" , |
47 | "glx" , |
48 | "present" , |
49 | "randr" , |
50 | "record" , |
51 | "render" , |
52 | "res" , |
53 | "screensaver" , |
54 | "shape" , |
55 | "shm" , |
56 | "sync" , |
57 | "xevie" , |
58 | "xf86dri" , |
59 | "xf86vidmode" , |
60 | "xfixes" , |
61 | "xinerama" , |
62 | "xinput" , |
63 | "xkb" , |
64 | "xprint" , |
65 | "xselinux" , |
66 | "xtest" , |
67 | "xv" , |
68 | "xvmc" , |
69 | ] |
70 | |
71 | # Features to enable individual X11 extensions |
72 | composite = ["xfixes" ] |
73 | damage = ["xfixes" ] |
74 | dbe = [] |
75 | dpms = [] |
76 | dri2 = [] |
77 | dri3 = [] |
78 | glx = [] |
79 | present = ["randr" , "xfixes" , "sync" ] |
80 | randr = ["render" ] |
81 | record = [] |
82 | render = [] |
83 | res = [] |
84 | screensaver = [] |
85 | shape = [] |
86 | shm = [] |
87 | sync = [] |
88 | xevie = [] |
89 | xf86dri = [] |
90 | xf86vidmode = [] |
91 | xfixes = ["render" , "shape" ] |
92 | xinerama = [] |
93 | xinput = ["xfixes" ] |
94 | xkb = [] |
95 | xprint = [] |
96 | xselinux = [] |
97 | xtest = [] |
98 | xv = ["shm" ] |
99 | xvmc = ["xv" ] |
100 | |
101 | [package.metadata.docs.rs] |
102 | all-features = true |
103 | |
104 | [[bench]] |
105 | name = "proto_connection" |
106 | harness = false |
107 | |