Cargo Features
[dependencies]
hyprswitch = { version = "1.2.4", default-features = false, features = ["gui", "libadwaita"] }
- default = gui
-
The
gui
feature is set by default wheneverhyprswitch
is added without
somewhere in the dependency tree.default-features = false - 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