2022-08-14 16:30:13 +03:00
|
|
|
[package]
|
|
|
|
name = "ironbar"
|
2023-05-07 18:09:39 +03:00
|
|
|
version = "0.12.1"
|
2022-08-14 16:30:13 +03:00
|
|
|
edition = "2021"
|
2022-08-14 16:55:03 +03:00
|
|
|
license = "MIT"
|
2022-11-02 01:56:47 +03:00
|
|
|
description = "Customisable GTK Layer Shell wlroots/sway bar"
|
2022-08-14 16:30:13 +03:00
|
|
|
|
2023-02-01 23:42:05 +03:00
|
|
|
[features]
|
|
|
|
default = [
|
|
|
|
"http",
|
|
|
|
"config+all",
|
2023-02-25 17:30:45 +03:00
|
|
|
"clipboard",
|
2023-02-01 23:42:05 +03:00
|
|
|
"clock",
|
|
|
|
"music+all",
|
|
|
|
"sys_info",
|
|
|
|
"tray",
|
2023-03-18 23:46:49 +03:00
|
|
|
"upower",
|
2023-02-01 23:42:05 +03:00
|
|
|
"workspaces+all"
|
|
|
|
]
|
|
|
|
http = ["dep:reqwest"]
|
2023-03-18 23:46:49 +03:00
|
|
|
upower = ["upower_dbus", "zbus", "futures-lite"]
|
2023-02-01 23:42:05 +03:00
|
|
|
|
2023-05-03 22:15:37 +03:00
|
|
|
"config+all" = ["config+json", "config+yaml", "config+toml", "config+corn", "config+ron"]
|
2023-03-19 19:17:31 +03:00
|
|
|
"config+json" = ["universal-config/json"]
|
|
|
|
"config+yaml" = ["universal-config/yaml"]
|
|
|
|
"config+toml" = ["universal-config/toml"]
|
|
|
|
"config+corn" = ["universal-config/corn"]
|
2023-05-03 22:15:37 +03:00
|
|
|
"config+ron" = ["universal-config/ron"]
|
2023-02-01 23:42:05 +03:00
|
|
|
|
2023-02-25 17:30:45 +03:00
|
|
|
clipboard = ["nix"]
|
|
|
|
|
2023-02-01 23:42:05 +03:00
|
|
|
clock = ["chrono"]
|
|
|
|
|
|
|
|
music = ["regex"]
|
|
|
|
"music+all" = ["music", "music+mpris", "music+mpd"]
|
|
|
|
"music+mpris" = ["music", "mpris"]
|
|
|
|
"music+mpd" = ["music", "mpd_client"]
|
|
|
|
|
|
|
|
sys_info = ["sysinfo", "regex"]
|
|
|
|
|
|
|
|
tray = ["stray"]
|
|
|
|
|
|
|
|
workspaces = ["futures-util"]
|
|
|
|
"workspaces+all" = ["workspaces", "workspaces+sway", "workspaces+hyprland"]
|
|
|
|
"workspaces+sway" = ["workspaces", "swayipc-async"]
|
|
|
|
"workspaces+hyprland" = ["workspaces", "hyprland"]
|
|
|
|
|
2022-08-14 16:30:13 +03:00
|
|
|
[dependencies]
|
2023-02-01 23:42:05 +03:00
|
|
|
# core
|
2023-03-19 03:14:59 +03:00
|
|
|
gtk = "0.17.0"
|
|
|
|
gtk-layer-shell = "0.6.0"
|
2023-06-12 18:03:53 +03:00
|
|
|
glib = "0.17.10"
|
2023-05-29 18:05:45 +03:00
|
|
|
tokio = { version = "1.28.2", features = ["macros", "rt-multi-thread", "time", "process", "sync", "io-util", "net"] }
|
2022-10-16 15:42:35 +03:00
|
|
|
tracing = "0.1.37"
|
2023-05-29 18:25:15 +03:00
|
|
|
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
|
2022-08-22 01:36:07 +03:00
|
|
|
tracing-error = "0.2.0"
|
|
|
|
tracing-appender = "0.2.2"
|
|
|
|
strip-ansi-escapes = "0.1.1"
|
|
|
|
color-eyre = "0.6.2"
|
2023-06-12 18:04:54 +03:00
|
|
|
serde = { version = "1.0.164", features = ["derive"] }
|
2022-11-05 20:32:01 +03:00
|
|
|
indexmap = "1.9.1"
|
2023-05-26 21:50:02 +03:00
|
|
|
dirs = "5.0.1"
|
2022-08-14 16:30:13 +03:00
|
|
|
walkdir = "2.3.2"
|
2023-06-05 20:08:20 +03:00
|
|
|
notify = { version = "6.0.0", default-features = false }
|
2023-06-05 18:04:15 +03:00
|
|
|
wayland-client = "0.30.2"
|
2023-04-30 00:08:02 +03:00
|
|
|
wayland-protocols = { version = "0.30.0", features = ["unstable", "client"] }
|
|
|
|
wayland-protocols-wlr = { version = "0.1.0", features = ["client"] }
|
|
|
|
smithay-client-toolkit = { version = "0.17.0", default-features = false, features = ["calloop"] }
|
2023-05-03 22:15:37 +03:00
|
|
|
universal-config = { version = "0.4.0", default_features = false }
|
2023-02-25 17:30:45 +03:00
|
|
|
|
2023-02-01 23:42:05 +03:00
|
|
|
lazy_static = "1.4.0"
|
|
|
|
async_once = "0.2.6"
|
|
|
|
cfg-if = "1.0.0"
|
|
|
|
|
|
|
|
# http
|
2023-06-05 20:08:16 +03:00
|
|
|
reqwest = { version = "0.11.18", optional = true }
|
2023-02-01 23:42:05 +03:00
|
|
|
|
2023-02-25 17:30:45 +03:00
|
|
|
# clipboard
|
2023-05-01 00:50:43 +03:00
|
|
|
nix = { version = "0.26.2", optional = true, features = ["event"] }
|
2023-02-25 17:30:45 +03:00
|
|
|
|
2023-02-01 23:42:05 +03:00
|
|
|
# clock
|
2023-06-05 18:04:42 +03:00
|
|
|
chrono = { version = "0.4.26", optional = true }
|
2023-02-01 23:42:05 +03:00
|
|
|
|
|
|
|
# music
|
|
|
|
mpd_client = { version = "1.0.0", optional = true }
|
|
|
|
mpris = { version = "2.0.0", optional = true }
|
|
|
|
|
|
|
|
# sys_info
|
2023-06-12 18:04:04 +03:00
|
|
|
sysinfo = { version = "0.29.2", optional = true }
|
2023-02-01 23:42:05 +03:00
|
|
|
|
|
|
|
# tray
|
|
|
|
stray = { version = "0.1.3", optional = true }
|
|
|
|
|
2023-03-18 23:46:49 +03:00
|
|
|
# upower
|
|
|
|
upower_dbus = { version = "0.3.2", optional = true }
|
|
|
|
futures-lite = { version = "1.12.0", optional = true }
|
2023-05-26 21:49:51 +03:00
|
|
|
zbus = { version = "3.13.1", optional = true }
|
2023-03-18 23:46:49 +03:00
|
|
|
|
2023-02-01 23:42:05 +03:00
|
|
|
# workspaces
|
|
|
|
swayipc-async = { version = "2.0.1", optional = true }
|
2023-06-13 00:21:33 +03:00
|
|
|
hyprland = { version = "=0.3.1", optional = true }
|
2023-02-01 23:42:05 +03:00
|
|
|
futures-util = { version = "0.3.21", optional = true }
|
|
|
|
|
|
|
|
# shared
|
2023-06-05 18:04:00 +03:00
|
|
|
regex = { version = "1.8.4", default-features = false, features = ["std"], optional = true } # music, sys_info
|
2023-06-17 23:29:45 +03:00
|
|
|
|
|
|
|
[patch.crates-io]
|
|
|
|
stray = { git = "https://github.com/jakestanger/stray", branch = "fix/connection-errors" }
|