mirror of
https://github.com/JakeStanger/ironbar.git
synced 2024-11-27 02:54:33 +03:00
161 lines
4.0 KiB
TOML
161 lines
4.0 KiB
TOML
[package]
|
|
name = "ironbar"
|
|
version = "0.15.1"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
description = "Customisable GTK Layer Shell wlroots/sway bar"
|
|
repository = "https://github.com/jakestanger/ironbar"
|
|
categories = ["gui"]
|
|
keywords = ["gtk", "bar", "wayland", "wlroots", "gtk-layer-shell"]
|
|
|
|
[features]
|
|
default = [
|
|
"cli",
|
|
"cairo",
|
|
"clipboard",
|
|
"clock",
|
|
"config+all",
|
|
"focused",
|
|
"http",
|
|
"ipc",
|
|
"launcher",
|
|
"music+all",
|
|
"notifications",
|
|
"sys_info",
|
|
"tray",
|
|
"upower",
|
|
"volume",
|
|
"workspaces+all"
|
|
]
|
|
|
|
cli = ["dep:clap", "ipc"]
|
|
ipc = ["dep:serde_json"]
|
|
|
|
http = ["dep:reqwest"]
|
|
|
|
"config+all" = [
|
|
"config+json",
|
|
"config+yaml",
|
|
"config+toml",
|
|
"config+corn",
|
|
"config+ron",
|
|
]
|
|
"config+json" = ["universal-config/json"]
|
|
"config+yaml" = ["universal-config/yaml"]
|
|
"config+toml" = ["universal-config/toml"]
|
|
"config+corn" = ["universal-config/corn"]
|
|
"config+ron" = ["universal-config/ron"]
|
|
|
|
cairo = ["lua-src", "mlua", "cairo-rs"]
|
|
|
|
clipboard = ["nix"]
|
|
|
|
clock = ["chrono"]
|
|
|
|
focused = []
|
|
|
|
launcher = []
|
|
|
|
music = ["regex"]
|
|
"music+all" = ["music", "music+mpris", "music+mpd"]
|
|
"music+mpris" = ["music", "mpris"]
|
|
"music+mpd" = ["music", "mpd-utils"]
|
|
|
|
notifications = ["zbus"]
|
|
|
|
sys_info = ["sysinfo", "regex"]
|
|
|
|
tray = ["system-tray"]
|
|
|
|
upower = ["upower_dbus", "zbus", "futures-lite"]
|
|
|
|
volume = ["libpulse-binding"]
|
|
|
|
workspaces = ["futures-lite"]
|
|
"workspaces+all" = ["workspaces", "workspaces+sway", "workspaces+hyprland"]
|
|
"workspaces+sway" = ["workspaces", "swayipc-async"]
|
|
"workspaces+hyprland" = ["workspaces", "hyprland"]
|
|
|
|
[dependencies]
|
|
# core
|
|
gtk = "0.18.1"
|
|
gtk-layer-shell = "0.8.0"
|
|
glib = "0.18.5"
|
|
tokio = { version = "1.37.0", features = [
|
|
"macros",
|
|
"rt-multi-thread",
|
|
"time",
|
|
"process",
|
|
"sync",
|
|
"io-util",
|
|
"net",
|
|
] }
|
|
tracing = "0.1.40"
|
|
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
|
|
tracing-error = { version = "0.2.0" , default-features = false }
|
|
tracing-appender = "0.2.3"
|
|
strip-ansi-escapes = "0.2.0"
|
|
color-eyre = "0.6.3"
|
|
serde = { version = "1.0.199", features = ["derive"] }
|
|
indexmap = "2.2.6"
|
|
dirs = "5.0.1"
|
|
walkdir = "2.5.0"
|
|
notify = { version = "6.1.1", default-features = false }
|
|
wayland-client = "0.31.1"
|
|
wayland-protocols-wlr = { version = "0.2.0", features = ["client"] }
|
|
smithay-client-toolkit = { version = "0.18.1", default-features = false, features = [
|
|
"calloop",
|
|
] }
|
|
universal-config = { version = "0.5.0", default_features = false }
|
|
ctrlc = "3.4.2"
|
|
cfg-if = "1.0.0"
|
|
|
|
# cli
|
|
clap = { version = "4.5.4", optional = true, features = ["derive"] }
|
|
|
|
# ipc
|
|
serde_json = { version = "1.0.116", optional = true }
|
|
|
|
# http
|
|
reqwest = { version = "0.12.4", default_features = false, features = ["default-tls", "http2"], optional = true }
|
|
|
|
# cairo
|
|
lua-src = { version = "546.0.2", optional = true }
|
|
mlua = { version = "0.9.7", optional = true, features = ["luajit"] }
|
|
cairo-rs = { version = "0.18.5", optional = true, features = ["png"] }
|
|
|
|
# clipboard
|
|
nix = { version = "0.27.1", optional = true, features = ["event"] }
|
|
|
|
# clock
|
|
chrono = { version = "0.4.38", optional = true, default_features = false, features = ["clock", "unstable-locales"] }
|
|
|
|
# music
|
|
mpd-utils = { version = "0.2.1", optional = true }
|
|
mpris = { version = "2.0.1", optional = true }
|
|
|
|
# sys_info
|
|
sysinfo = { version = "0.29.11", optional = true }
|
|
|
|
# tray
|
|
system-tray = { version = "0.2.0", optional = true }
|
|
|
|
# upower
|
|
upower_dbus = { version = "0.3.2", optional = true }
|
|
|
|
# volume
|
|
libpulse-binding = { version = "2.28.1", optional = true }
|
|
|
|
# workspaces
|
|
swayipc-async = { version = "2.0.1", optional = true }
|
|
hyprland = { version = "0.4.0-alpha.1", features = ["silent"], optional = true }
|
|
futures-util = { version = "0.3.30", optional = true }
|
|
num-traits = "0.2.18"
|
|
|
|
# shared
|
|
futures-lite = { version = "2.3.0", optional = true } # workspaces, upower
|
|
regex = { version = "1.10.4", default-features = false, features = [
|
|
"std",
|
|
], optional = true } # music, sys_info
|
|
zbus = { version = "3.15.2", default-features = false, features = ["tokio"], optional = true } # notifications, upower
|