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
somewhere in the dependency tree.default-features = false - 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.