Cargo Features
[dependencies]
mkpoi = { version = "0.7.0", default-features = false, features = ["imgui", "standalone"] }
- default = standalone
-
The
standalone
feature is set by default whenevermkpoi
is added without
somewhere in the dependency tree.default-features = false - imgui standalone = crossbeam-channel, egui
-
Enables file_dialog of mkutil
Affects
mkpoi::mkpoi_powered_url
… - standalone default = imgui
-
Enables wgpu of eframe ^0.26.2
eframe:
Use
wgpu
for painting (viaegui-wgpu
).This overrides the
glow
feature.By default, only WebGPU is enabled on web. If you want to enable WebGL, you need to turn on the
webgl
feature of cratewgpu
:wgpu = { version = "*", features = ["webgpu", "webgl"] }
By default, eframe will prefer WebGPU over WebGL, but you can configure this at run-time with
NativeOptions::wgpu_options
.Affects
mkpoi::run
…
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 imgui?
-
Enables egui ^0.26.2
Optional
- eframe standalone
-
Enables eframe ^0.26.2
- crossbeam-channel imgui?