Cargo Features

[dependencies]
hyprswitch = { version = "1.2.4", default-features = false, features = ["gui", "libadwaita"] }
default = gui

The gui feature is set by default whenever hyprswitch is added without default-features = false somewhere in the dependency tree.

gui default libadwaita? = gtk4, gtk4-layer-shell, tokio-condvar

Affects cli::Args.daemon, cli::Args.stop_daemon, cli::Args.do_initial_execute, cli::Args.switch_ws_on_hover, cli::Args.switch_on_close, hyprswitch::gui, hyprswitch::daemon, hyprswitch::Share

libadwaita = adw, gui

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

gtk4 gui
adw libadwaita?

Enables libadwaita

gtk4-layer-shell gui
tokio-condvar gui