Cargo Features
[dependencies]
zng-wgt-scroll = { version = "0.4.33", default-features = false, features = ["debug_default", "dyn_closure"] }
- default = debug_default
-
The
debug_default
feature is set by default wheneverzng-wgt-scroll
is added without
somewhere in the dependency tree.default-features = false - debug_default default
-
Enables the
"dyn_closure"
in debug builds. - dyn_closure
-
Box closures at opportune places, such as
Var::map
, reducing the number of monomorphised types.This speeds-up compilation time at the cost of runtime.