Cargo Features

[dependencies]
lazybar-core = { version = "0.8.0", default-features = false, features = ["cursor", "battery", "clock", "custom", "github", "inotify", "memory", "mpd", "network", "ping", "pulseaudio", "separator", "storage", "systray", "xwindow", "xworkspaces"] }
default = battery, clock, cpu, custom, github, inotify, memory, mpd, network, ping, pulseaudio, separator, storage, systray, temp, xwindow, xworkspaces

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

cursor

Enables resource_manager of x11rb

x11rb:

Enable utility functions in x11rb::resource_manager for querying the resource databases.

Affects bar::BarInfo.cursors, bar::Cursors, bar::Cursor, bar::CursorInfo, bar::PanelDrawInfo.cursor_info, lazybar-core::CursorFn, lazybar-core::BarConfig.cursors, x::set_cursor

battery default
clock default

Enables chrono

cpu custom default
github default

Enables reqwest

inotify default
memory default

Enables aho-corasick

mpd default

Enables aho-corasick, mpd, and unicode-segmentation

network default
ping default

Enables fastping-rs

pulseaudio default

Enables libpulse-binding

separator default
storage default

Enables aho-corasick

systray default

Affects x::get_window_name

temp xwindow default
xworkspaces default

Enables chrono