Cargo Features
[dependencies]
relm4 = { version = "0.8.1", default-features = false, features = ["libadwaita", "libpanel", "macros", "gnome_46", "gnome_45", "gnome_44", "gnome_43", "gnome_42", "all"] }
- default = gnome_42, macros
-
These default features are set whenever
relm4
is added without
somewhere in the dependency tree.default-features = false - libadwaita all? = adw
-
Affects
relm4::main_adw_application
… - libpanel = panel
- macros default all? = relm4-macros
- gnome_46 = gnome_45
-
Enables v1_5 of libadwaita, gnome_45 of gtk4
- gnome_45 gnome_46? = gnome_44
-
Enables v1_4 of libadwaita, gnome_45 of gtk4
- gnome_44 gnome_45? = gnome_43
-
Enables v1_3 of libadwaita, gnome_44 of gtk4
- gnome_43 gnome_44? = gnome_42
-
Enables v1_2 of libadwaita, gnome_43 of gtk4
- gnome_42 default gnome_43?
- all = libadwaita, macros, panel
-
All features except docs. This is also used in the CI
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.
- adw gnome_43? gnome_44? gnome_45? gnome_46? libadwaita?
-
Enables libadwaita
- panel all? libpanel?
-
Enables libpanel
- relm4-macros macros