ironbar/Cargo.toml

140 lines
3.4 KiB
TOML
Raw Normal View History

2022-08-14 16:30:13 +03:00
[package]
name = "ironbar"
2023-06-19 01:09:58 +03:00
version = "0.13.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"
2023-06-23 01:06:45 +03:00
repository = "https://github.com/jakestanger/ironbar"
categories = ["gui"]
2023-07-30 00:00:24 +03:00
keywords = ["gtk", "bar", "wayland", "wlroots", "gtk-layer-shell"]
2022-08-14 16:30:13 +03:00
[features]
default = [
2023-06-23 01:06:45 +03:00
"cli",
"ipc",
"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"
]
2023-06-23 01:06:45 +03:00
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"]
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 = ["system-tray"]
2023-06-23 01:06:45 +03:00
upower = ["upower_dbus", "zbus", "futures-lite"]
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.10"
tokio = { version = "1.31.0", features = [
"macros",
"rt-multi-thread",
"time",
"process",
"sync",
"io-util",
"net",
] }
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
tracing-error = "0.2.0"
tracing-appender = "0.2.2"
strip-ansi-escapes = "0.2.0"
color-eyre = "0.6.2"
serde = { version = "1.0.183", features = ["derive"] }
indexmap = "2.0.0"
dirs = "5.0.1"
2022-08-14 16:30:13 +03:00
walkdir = "2.3.2"
notify = { version = "6.0.1", default-features = false }
wayland-client = "0.30.2"
wayland-protocols = { version = "0.30.1", features = ["unstable", "client"] }
wayland-protocols-wlr = { version = "0.1.0", features = ["client"] }
smithay-client-toolkit = { version = "0.17.0", default-features = false, features = [
"calloop",
] }
universal-config = { version = "0.4.2", default_features = false }
2023-06-23 01:06:45 +03:00
ctrlc = "3.4.0"
2023-02-25 17:30:45 +03:00
lazy_static = "1.4.0"
async_once = "0.2.6"
cfg-if = "1.0.0"
2023-06-23 01:06:45 +03:00
# cli
clap = { version = "4.3.21", optional = true, features = ["derive"] }
2023-06-23 01:06:45 +03:00
# ipc
serde_json = { version = "1.0.104", optional = true }
2023-06-23 01:06:45 +03:00
# http
reqwest = { version = "0.11.18", optional = true }
2023-02-25 17:30:45 +03:00
# clipboard
nix = { version = "0.26.2", optional = true, features = ["event"] }
2023-02-25 17:30:45 +03:00
# clock
2023-07-04 01:20:37 +03:00
chrono = { version = "0.4.26", optional = true, features = ["unstable-locales"] }
# music
mpd_client = { version = "1.2.0", optional = true }
mpris = { version = "2.0.1", optional = true }
# sys_info
sysinfo = { version = "0.29.8", optional = true }
# tray
system-tray = { version = "0.1.4", 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.14.1", optional = true }
2023-03-18 23:46:49 +03:00
# workspaces
swayipc-async = { version = "2.0.1", optional = true }
hyprland = { version = "0.3.8", features = ["silent"], optional = true }
futures-util = { version = "0.3.21", optional = true }
# shared
regex = { version = "1.8.4", default-features = false, features = [
"std",
], optional = true } # music, sys_info