Cargo Features
[dependencies]
theframework = { version = "0.1.33", default-features = false, features = ["ui", "code", "winit_app", "gpu", "gpu_winit"] }
- default = gpu_winit
-
The
gpu_winit
feature is set by default whenevertheframework
is added without
somewhere in the dependency tree.default-features = false - ui = flate2, futures, rayon, rfd, zeno
-
Affects
theframework::theui
,theapp::TheApp.ui
,thecontext::TheContext.ui
,thetrait::TheTrait.init_ui
,thetrait::TheTrait.update_ui
,thetrait::TheTrait.post_ui
,thetrait::TheTrait.pre_ui
… - code
-
Affects
theframework::thecode
,thelayout::thecodelayout
,thelayout::TheLayout.as_code_layout
,thewidget::thecodeview
,thewidget::TheWidget.as_code_view
… - winit_app gpu_winit = winit, winit_input_helper
- gpu gpu_winit = aict, bytemuck, futures, itertools, wgpu
-
Affects
theframework::thegpu
… - gpu_winit default = gpu, winit_app
-
Affects
thecontext::TheContext.gpu
,thecontext::TheContext.texture_renderer
…
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.