Cargo Features
[dependencies]
relm4 = { version = "0.9.1", default-features = false, features = ["css", "libadwaita", "libpanel", "macros", "gnome_47", "gnome_46", "gnome_45", "gnome_44", "gnome_43", "gnome_42", "all"] }
- default = css, gnome_42, macros
-
These default features are set whenever
relm4
is added without
somewhere in the dependency tree.default-features = false - css default = relm4-css
- libadwaita all? = adw
-
Affects
relm4::main_adw_application
… - libpanel = panel
- macros default all? = relm4-macros
- gnome_47 = gnome_46
-
Enables v1_6 of libadwaita and gnome_47 of gtk4
gtk4:
Versions from https://gitlab.gnome.org/GNOME/gnome-build-meta/-/tree/gnome-43/elements/sdk gtk takes care of setting the versions of gsk and gdk gio takes care of setting the version of glib
- gnome_46 gnome_47? = gnome_45
-
Enables v1_5 of libadwaita, gnome_46 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.