Cargo Features

[dependencies]
ironbar = { version = "0.15.0", default-features = false, features = ["cli", "ipc", "http", "config+all", "config+json", "config+yaml", "config+toml", "config+corn", "config+ron", "cairo", "clipboard", "clock", "focused", "launcher", "music", "music+all", "music+mpris", "music+mpd", "notifications", "sys_info", "tray", "upower", "volume", "workspaces", "workspaces+all", "workspaces+sway", "workspaces+hyprland"] }
default = cairo, cli, clipboard, clock, config+all, focused, http, ipc, launcher, music+all, notifications, sys_info, tray, upower, volume, workspaces+all

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

cli default = ipc

Enables clap

ipc default cli

Enables serde_json

http default

Enables reqwest

config+all default = config+corn, config+json, config+ron, config+toml, config+yaml
config+json config+all

Enables json of universal-config

universal-config:

aliases
toml does not need to be explicitly included as the dep provides a feature

config+yaml config+all

Enables yaml of universal-config

config+toml config+all

Enables toml of universal-config

config+corn config+all

Enables corn of universal-config

config+ron config+all

Enables ron of universal-config

cairo default = cairo-rs, lua-src, mlua

Affects clients::lua, modules::cairo

clipboard default = nix

Affects clients::clipboard, modules::clipboard, gtk::new_icon_button

clock default = chrono

Affects modules::clock

focused default

Affects modules::focused

launcher default

Affects modules::launcher

music music+all music+mpd? music+mpris? = regex

Affects clients::music, gtk::new_icon_label, modules::music, gtk::new_icon_button

music+all default = music, music+mpd, music+mpris
music+mpris music+all = mpris, music

Affects music::mpris

music+mpd music+all = mpd-utils, music

Affects music::mpd

notifications default = zbus

Affects clients::swaync, modules::notifications

sys_info default = regex, sysinfo

Affects modules::sysinfo

tray default = system-tray

Affects clients::tray, modules::tray

upower default = futures-lite, upower_dbus, zbus

Affects clients::upower, modules::upower

volume default = libpulse-binding

Affects clients::volume, modules::volume

workspaces workspaces+all workspaces+hyprland? workspaces+sway? = futures-lite

Affects clients::compositor, modules::workspaces, gtk::new_icon_button

workspaces+all default = workspaces, workspaces+hyprland, workspaces+sway
workspaces+sway workspaces+all = swayipc-async, workspaces

Affects compositor::sway

workspaces+hyprland workspaces+all = hyprland, workspaces

Affects compositor::hyprland

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.

lua-src cairo

Enables lua-src

cairo

mlua cairo
cairo-rs cairo

Enables cairo-rs ^0.18.5

nix clipboard

Enables nix ^0.27.1

clipboard

chrono clock

Enables chrono

clock

mpd-utils music+mpd?

Enables mpd-utils

music

mpris music+mpris?
sysinfo sys_info

Enables sysinfo ^0.29.11

sys_info

system-tray tray

Enables system-tray

tray

upower_dbus upower

Enables upower_dbus

upower

libpulse-binding volume

Enables libpulse-binding

volume

swayipc-async workspaces+sway?

Enables swayipc-async

workspaces

hyprland workspaces+hyprland?
futures-lite upower workspaces?

Enables futures-lite

shared
workspaces, upower

regex music? sys_info

Enables regex

music, sys_info

zbus notifications upower

Enables zbus ^3.15.2

notifications, upower