Cargo Features

[dependencies]
penrose = { version = "0.3.6", default-features = false, features = ["keysyms", "x11rb-xcb", "serde"] }
default = keysyms, x11rb

These default features are set whenever penrose is added without default-features = false somewhere in the dependency tree.

keysyms default = penrose_keysyms
x11rb-xcb = x11rb

Enables allow-unsafe-code of x11rb

x11rb:

Without this feature, all uses of unsafe in the crate are forbidden via #![deny(unsafe_code)]. This has the effect of disabling the XCB FFI bindings.

Affects x11rb::XcbConn

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.

penrose_keysyms keysyms
serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

x11rb default x11rb-xcb?

Affects penrose::x11rb