Cargo Features
x11rb has no features set by default.
[dependencies]
x11rb = { version = "0.13.2", features = ["allow-unsafe-code", "cursor", "image", "resource_manager", "dl-libxcb", "extra-traits", "request-parsing", "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", "raw-window-handle", "tracing"] }
- allow-unsafe-code dl-libxcb? = as-raw-xcb-connection, libc
-
Without this feature, all uses of
unsafein the crate are forbidden via #![deny(unsafe_code)]. This has the effect of disabling the XCB FFI bindings.Affects
x11rb::xcb_ffi… - cursor = render, resource_manager, xcursor
-
Enable utility functions in
x11rb::cursorfor loading mouse cursors. - image
-
Enable utility functions in
x11rb::imagefor working with image data. - resource_manager cursor?
-
Enable utility functions in
x11rb::resource_managerfor querying the resource databases.Enables resource_manager of x11rb-protocol
- dl-libxcb = allow-unsafe-code, libloading, once_cell
-
Affects
errors::LibxcbLoadError… - extra-traits
-
Enable extra traits on protocol types.
Enables extra-traits of x11rb-protocol
- request-parsing
-
Add the ability to parse X11 requests (not normally needed).
Enables request-parsing of x11rb-protocol
- 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
Enables all-extensions of x11rb-protocol
- composite all-extensions? = xfixes
-
Features to enable individual X11 extensions
Enables composite of x11rb-protocol
Affects
protocol::composite… - damage all-extensions? = xfixes
-
Enables damage of x11rb-protocol
Affects
protocol::damage… - dbe all-extensions?
-
Enables dbe of x11rb-protocol
Affects
protocol::dbe… - dpms all-extensions?
-
Enables dpms of x11rb-protocol
Affects
protocol::dpms… - dri2 all-extensions?
-
Enables dri2 of x11rb-protocol
Affects
protocol::dri2… - dri3 all-extensions?
-
Enables dri3 of x11rb-protocol
Affects
protocol::dri3… - glx all-extensions?
-
Enables glx of x11rb-protocol
Affects
protocol::glx… - present all-extensions? = randr, sync, xfixes
-
Enables present of x11rb-protocol
Affects
protocol::present… - randr all-extensions? present? = render
-
Enables randr of x11rb-protocol
Affects
protocol::randr… - record all-extensions?
-
Enables record of x11rb-protocol
Affects
protocol::record… - render all-extensions? cursor? randr? xfixes?
-
Enables render of x11rb-protocol
Affects
protocol::render… - res all-extensions?
-
Enables res of x11rb-protocol
Affects
protocol::res… - screensaver all-extensions?
-
Enables screensaver of x11rb-protocol
Affects
protocol::screensaver… - shape all-extensions? xfixes?
-
Enables shape of x11rb-protocol
Affects
protocol::shape… - shm all-extensions? xv?
-
Enables shm of x11rb-protocol
Affects
protocol::shm… - sync all-extensions? present?
-
Enables sync of x11rb-protocol
Affects
protocol::sync… - xevie all-extensions?
-
Enables xevie of x11rb-protocol
Affects
protocol::xevie… - xf86dri all-extensions?
-
Enables xf86dri of x11rb-protocol
Affects
protocol::xf86dri… - xf86vidmode all-extensions?
-
Enables xf86vidmode of x11rb-protocol
Affects
protocol::xf86vidmode… - xfixes all-extensions? composite? damage? present? xinput? = render, shape
-
Enables xfixes of x11rb-protocol
Affects
protocol::xfixes… - xinerama all-extensions?
-
Enables xinerama of x11rb-protocol
Affects
protocol::xinerama… - xinput all-extensions? = xfixes
-
Enables xinput of x11rb-protocol
Affects
protocol::xinput… - xkb all-extensions?
-
Enables xkb of x11rb-protocol
Affects
protocol::xkb… - xprint all-extensions?
-
Enables xprint of x11rb-protocol
Affects
protocol::xprint… - xselinux all-extensions?
-
Enables xselinux of x11rb-protocol
Affects
protocol::xselinux… - xtest all-extensions?
-
Enables xtest of x11rb-protocol
Affects
protocol::xtest… - xv all-extensions? xvmc? = shm
-
Enables xv of x11rb-protocol
Affects
protocol::xv… - xvmc all-extensions? = xv
-
Enables xvmc of x11rb-protocol
Affects
protocol::xvmc…
Features from optional dependencies
In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- libc allow-unsafe-code?
- libloading dl-libxcb?
-
Enables libloading ^0.8.0
- once_cell dl-libxcb?
- raw-window-handle implicit feature
-
Enables raw-window-handle ^0.5.0
raw-window-handle:
Interoperability library for Rust Windowing applications
- as-raw-xcb-connection allow-unsafe-code?
- tracing implicit feature
-
Enables tracing
tracing:
Application-level tracing for Rust
- xcursor cursor?