Cargo Features
[dependencies]
tgf = { version = "0.0.2", default-features = false, features = ["eguimod", "renderers", "ui"] }
- default = eguimod, renderers, ui
-
These default features are set whenever
tgf
is added without
somewhere in the dependency tree.default-features = false - eguimod default = egui, egui-wgpu
-
Affects
renderer::egui
,utils::global_values
… - renderers default
- ui default
-
Affects
tgf::ui
…
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.
- egui eguimod
-
Enables egui ^0.27.2
- egui-wgpu eguimod
-
Enables egui-wgpu ^0.27.2