Cargo Features
[dependencies]
libawm = { version = "0.1.0", default-features = false, features = ["keysyms", "x11rb-xcb", "xcb_draw", "serde", "xcb"] }
- default = keysyms, xcb, xcb_draw
-
These default features are set whenever
libawm
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.8.1
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::new_x11rb_xcb_backed_window_manager
… - xcb_draw default = cairo-rs, cairo-sys-rs, pango, pangocairo
-
Affects
xcb::draw
…
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
-
Enables penrose_keysyms ^0.1.1
- cairo-rs xcb_draw
-
Enables cairo-rs ^0.9.1
- cairo-sys-rs xcb_draw
-
Enables cairo-sys-rs ^0.10.0
- pangocairo xcb_draw
-
Enables pangocairo ^0.10.0
- pango xcb_draw
-
Enables pango ^0.9.1
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
Affects
xconnection::XConn.hydrate
… - xcb default
-
Enables xcb ^0.9.0
Affects
libawm::xcb
… - x11rb x11rb-xcb?
-
Enables x11rb ^0.8.1
Affects
libawm::x11rb
…