mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-02 19:21:03 +02:00
build: remove some unused features/deps
This commit is contained in:
parent
9245188af7
commit
26ffed7b40
3 changed files with 36 additions and 148 deletions
18
Cargo.toml
18
Cargo.toml
|
@ -68,7 +68,7 @@ upower = ["upower_dbus", "zbus", "futures-lite"]
|
|||
|
||||
volume = ["libpulse-binding"]
|
||||
|
||||
workspaces = ["futures-util"]
|
||||
workspaces = ["futures-lite"]
|
||||
"workspaces+all" = ["workspaces", "workspaces+sway", "workspaces+hyprland"]
|
||||
"workspaces+sway" = ["workspaces", "swayipc-async"]
|
||||
"workspaces+hyprland" = ["workspaces", "hyprland"]
|
||||
|
@ -89,7 +89,7 @@ tokio = { version = "1.37.0", features = [
|
|||
] }
|
||||
tracing = "0.1.40"
|
||||
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
|
||||
tracing-error = "0.2.0"
|
||||
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"
|
||||
|
@ -99,7 +99,6 @@ dirs = "5.0.1"
|
|||
walkdir = "2.5.0"
|
||||
notify = { version = "6.1.1", default-features = false }
|
||||
wayland-client = "0.31.1"
|
||||
wayland-protocols = { version = "0.31.0", features = ["unstable", "client"] }
|
||||
wayland-protocols-wlr = { version = "0.2.0", features = ["client"] }
|
||||
smithay-client-toolkit = { version = "0.18.1", default-features = false, features = [
|
||||
"calloop",
|
||||
|
@ -115,13 +114,13 @@ clap = { version = "4.5.4", optional = true, features = ["derive"] }
|
|||
serde_json = { version = "1.0.114", optional = true }
|
||||
|
||||
# http
|
||||
reqwest = { version = "0.12.2", optional = true }
|
||||
reqwest = { version = "0.12.2", default_features = false, features = ["default-tls", "http2"], optional = true }
|
||||
|
||||
# clipboard
|
||||
nix = { version = "0.27.1", optional = true, features = ["event"] }
|
||||
|
||||
# clock
|
||||
chrono = { version = "0.4.37", optional = true, features = ["unstable-locales"] }
|
||||
chrono = { version = "0.4.37", optional = true, default_features = false, features = ["clock", "unstable-locales"] }
|
||||
|
||||
# music
|
||||
mpd-utils = { version = "0.2.1", optional = true }
|
||||
|
@ -131,22 +130,21 @@ mpris = { version = "2.0.1", optional = true }
|
|||
sysinfo = { version = "0.29.11", optional = true }
|
||||
|
||||
# tray
|
||||
system-tray = { version = "0.2.0", optional = true }
|
||||
system-tray = { version = "0.2.0", optional = true }
|
||||
|
||||
# upower
|
||||
upower_dbus = { version = "0.3.2", optional = true }
|
||||
futures-lite = { version = "2.3.0", optional = true }
|
||||
|
||||
# volume
|
||||
libpulse-binding = { version = "2.28.1", optional = true }
|
||||
|
||||
# workspaces
|
||||
swayipc-async = { version = "2.0.1", optional = true }
|
||||
hyprland = { version = "0.3.13", features = ["silent"], optional = true }
|
||||
futures-util = { version = "0.3.30", optional = true }
|
||||
hyprland = { version = "0.3.13", default_features = false, features = ["listener", "tokio", "silent"], optional = true }
|
||||
|
||||
# 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", optional = true } # notifications, upower
|
||||
zbus = { version = "3.15.2", default-features = false, features = ["tokio"], optional = true } # notifications, upower
|
Loading…
Add table
Add a link
Reference in a new issue