Cargo Features

[dependencies]
x11rb-protocol = { version = "0.13.1", default-features = false, features = ["std", "extra-traits", "request-parsing", "resource_manager", "all-extensions", "composite", "damage", "dbe", "dpms", "dri2", "dri3", "glx", "present", "randr", "record", "render", "res", "screensaver", "shape", "shm", "sync", "xevie", "xf86dri", "xf86vidmode", "xfixes", "xinerama", "xinput", "xkb", "xprint", "xselinux", "xtest", "xv", "xvmc", "serde"] }
default = std

The std feature is set by default whenever x11rb-protocol is added without default-features = false somewhere in the dependency tree.

std default resource_manager?

Affects parse_display::parse_display

extra-traits

Enable extra traits for the X11 types

request-parsing

Enable parsing for requests.

This adds a lot of extra code that isn't used in the common case.

resource_manager = std

Enable utility functions in x11rb::resource_manager for querying the resource databases.

Affects x11rb-protocol::resource_manager

all-extensions = composite, damage, dbe, dpms, dri2, dri3, glx, present, randr, record, render, res, screensaver, shape, shm, sync, xevie, xf86dri, xf86vidmode, xfixes, xinerama, xinput, xkb, xprint, xselinux, xtest, xv, xvmc

Enable this feature to enable all the X11 extensions

composite all-extensions? = xfixes

Features to enable individual X11 extensions

Affects protocol::composite

damage all-extensions? = xfixes

Affects protocol::damage

dbe all-extensions?

Affects protocol::dbe

dpms all-extensions?

Affects protocol::dpms

dri2 all-extensions?

Affects protocol::dri2

dri3 all-extensions?

Affects protocol::dri3

glx all-extensions?

Affects protocol::glx

present all-extensions? = randr, sync, xfixes

Affects protocol::present

randr all-extensions? present? = render

Affects protocol::randr

record all-extensions?

Affects protocol::record

render all-extensions? randr? xfixes?

Affects protocol::render

res all-extensions?

Affects protocol::res

screensaver all-extensions?

Affects protocol::screensaver

shape all-extensions? xfixes?

Affects protocol::shape

shm all-extensions? xv?

Affects protocol::shm

sync all-extensions? present?

Affects protocol::sync

xevie all-extensions?

Affects protocol::xevie

xf86dri all-extensions?

Affects protocol::xf86dri

xf86vidmode all-extensions?

Affects protocol::xf86vidmode

xfixes all-extensions? composite? damage? present? xinput? = render, shape

Affects protocol::xfixes

xinerama all-extensions?

Affects protocol::xinerama

xinput all-extensions? = xfixes

Affects protocol::xinput

xkb all-extensions?

Affects protocol::xkb

xprint all-extensions?

Affects protocol::xprint

xselinux all-extensions?

Affects protocol::xselinux

xtest all-extensions?

Affects protocol::xtest

xv all-extensions? xvmc? = shm

Affects protocol::xv

xvmc all-extensions? = xv

Affects protocol::xvmc

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework