Cargo Features

[dependencies]
safex11 = { version = "0.0.6", default-features = false, features = ["glx", "xlib", "xrender", "xinerama", "xinput"] }
default = xlib

The xlib feature is set by default whenever safex11 is added without default-features = false somewhere in the dependency tree.

glx = gl_generator, xlib

Enables glx of x11

Affects safex11::glx

xlib default glx? xinerama?

Enables xlib of x11

Affects safex11::xlib

xrender

Enables xrender of x11

Affects safex11::xrender

xinerama = xlib

Enables xinerama of x11

Affects safex11::xinerama

xinput

Enables xinput of x11

Affects safex11::xinput

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.

gl_generator build glx?