Cargo Features
[dependencies]
penrose = { version = "0.3.4", 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 ^0.12
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?
-
Enables x11rb ^0.12
Affects
penrose::x11rb
…