Skip to content

Commit

Permalink
build: remove some unused features/deps
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeStanger committed Apr 2, 2024
1 parent 9245188 commit 26ffed7
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 148 deletions.
164 changes: 27 additions & 137 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 8 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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"
Expand All @@ -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",
Expand All @@ -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 }
Expand All @@ -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

0 comments on commit 26ffed7

Please sign in to comment.