Cargo Features
[dependencies]
pixel-widgets = { version = "0.9.1", default-features = false, features = ["clipboard", "wgpu", "winit"] }
- default = clipboard, wgpu, winit
-
These default features are set whenever
pixel-widgets
is added without
somewhere in the dependency tree.default-features = false
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.
- clipboard default
- wgpu default
-
Enables wgpu ^0.11
Affects
backend::wgpu
,pixel-widgets::sandbox
… - winit default
-
Enables winit ^0.25
Affects
backend::winit
,pixel-widgets::sandbox
…