Cargo Features
[dependencies]
relm4-macros = { version = "0.9.1", default-features = false, features = ["relm4"] }
- default = relm4
-
The
relm4
feature is set by default wheneverrelm4-macros
is added without
somewhere in the dependency tree.default-features = false - relm4 default
-
Without the default "relm4" feature, all imports of gtk will be
use gtk;
instead ofuse relm4::gtk;
thus making it easier to use this crate without Relm4.