Cargo Features
[dependencies]
ironbar = { version = "0.16.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", "network_manager", "notifications", "sys_info", "tray", "upower", "volume", "workspaces", "workspaces+all", "workspaces+sway", "workspaces+hyprland", "sway", "schema", "futures-util"] }
- default = cairo, cli, clipboard, clock, config+all, focused, http, ipc, launcher, music+all, network_manager, notifications, sys_info, tray, upower, volume, workspaces+all
-
These default features are set whenever
ironbar
is added without
somewhere in the dependency tree.default-features = false - 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
… - network_manager default = futures-lite, futures-signals, zbus
-
Affects
clients::networkmanager
,modules::networkmanager
… - 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 = sway, workspaces
-
Affects
compositor::sway
… - workspaces+hyprland workspaces+all = hyprland, workspaces
-
Affects
compositor::hyprland
… - sway workspaces+sway? = swayipc-async
-
Affects
clients::sway
,modules::sway
… - schema
-
Enables schemars
Affects
cli::Args.print_schema
,impl::schema_layer
…
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
-
Enables mlua ^0.9.9
- cairo-rs cairo
-
Enables cairo-rs ^0.18.5
- nix clipboard
-
Enables nix
clipboard
- chrono clock
-
Enables chrono
clock
- mpd-utils music+mpd?
-
Enables mpd-utils
music
- mpris music+mpris?
- futures-signals network_manager
-
Enables futures-signals
network_manager
- sysinfo sys_info
-
Enables sysinfo ^0.29.11
sys_info
- system-tray tray
-
Enables system-tray ^0.2.0
tray
- upower_dbus upower
-
Enables upower_dbus
upower
- libpulse-binding volume
-
Enables libpulse-binding
volume
- swayipc-async sway?
-
Enables swayipc-async
workspaces
- hyprland workspaces+hyprland?
- futures-util implicit feature
-
Enables futures-util
futures-util:
Common utilities and extension traits for the futures-rs library
- futures-lite network_manager upower workspaces?
-
Enables futures-lite
shared
network_manager, upower, workspaces - regex music? sys_info
-
Enables regex
music, sys_info
- zbus network_manager notifications upower
-
Enables zbus ^3.15.2
network_manager, notifications, upower