Cargo Features
[dependencies]
zng-wgt = { version = "0.5.8", default-features = false, features = ["debug_default", "dyn_closure", "http"] }
- default = debug_default
-
The
debug_default
feature is set by default wheneverzng-wgt
is added without
somewhere in the dependency tree.default-features = false - debug_default default
-
Signal the build script to enable the
"dyn_*"
,"inspector"
and"trace_widget"
features in debug builds.Enables debug_default of zng-var
- 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.
Enables dyn_closure of zng-var
- http
-
Enable web tasks.