ironbar/Cargo.toml

104 lines
2.8 KiB
TOML
Raw Normal View History

2022-08-14 16:30:13 +03:00
[package]
name = "ironbar"
2023-04-01 20:36:24 +03:00
version = "0.11.0"
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
[features]
default = [
"http",
"config+all",
2023-02-25 17:30:45 +03:00
"clipboard",
"clock",
"music+all",
"sys_info",
"tray",
2023-03-18 23:46:49 +03:00
"upower",
"workspaces+all"
]
http = ["dep:reqwest"]
2023-03-18 23:46:49 +03:00
upower = ["upower_dbus", "zbus", "futures-lite"]
"config+all" = ["config+json", "config+yaml", "config+toml", "config+corn"]
"config+json" = ["universal-config/json"]
"config+yaml" = ["universal-config/yaml"]
"config+toml" = ["universal-config/toml"]
"config+corn" = ["universal-config/corn"]
2023-02-25 17:30:45 +03:00
clipboard = ["nix"]
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]
# core
2023-03-19 03:14:59 +03:00
gtk = "0.17.0"
gtk-layer-shell = "0.6.0"
glib = "0.17.5"
tokio = { version = "1.21.2", features = ["macros", "rt-multi-thread", "time", "process", "sync", "io-util", "net"] }
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.16", features = ["env-filter"] }
tracing-error = "0.2.0"
tracing-appender = "0.2.2"
strip-ansi-escapes = "0.1.1"
color-eyre = "0.6.2"
2022-08-14 16:30:13 +03:00
serde = { version = "1.0.141", features = ["derive"] }
indexmap = "1.9.1"
2023-04-01 15:12:26 +03:00
dirs = "5.0.0"
2022-08-14 16:30:13 +03:00
walkdir = "2.3.2"
notify = { version = "5.0.0", default-features = false }
wayland-client = "0.29.5"
wayland-protocols = { version = "0.29.5", features = ["unstable_protocols", "client"] }
smithay-client-toolkit = { version = "0.16.0", default-features = false, features = ["calloop"] }
2023-04-01 15:12:26 +03:00
universal-config = { version = "0.3.0", default_features = false }
2023-02-25 17:30:45 +03:00
lazy_static = "1.4.0"
async_once = "0.2.6"
cfg-if = "1.0.0"
# http
reqwest = { version = "0.11.14", optional = true }
2023-02-25 17:30:45 +03:00
# clipboard
nix = { version = "0.26.2", optional = true }
# clock
chrono = { version = "0.4.19", optional = true }
# music
mpd_client = { version = "1.0.0", optional = true }
mpris = { version = "2.0.0", optional = true }
# sys_info
2023-04-01 15:12:26 +03:00
sysinfo = { version = "0.28.4", optional = true }
# 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 }
zbus = { version = "3.11.0", optional = true }
# workspaces
swayipc-async = { version = "2.0.1", optional = true }
2023-04-01 15:12:26 +03:00
hyprland = { version = "0.3.1", optional = true }
futures-util = { version = "0.3.21", optional = true }
# shared
2023-02-25 17:30:45 +03:00
regex = { version = "1.6.0", default-features = false, features = ["std"], optional = true } # music, sys_info