Cargo Features
[dependencies]
agpu = { version = "0.1.2", default-features = false, features = ["profiler", "macro", "half", "egui", "winit"] }
- default = egui, half, macro, profiler, winit
-
These default features are set whenever
agpu
is added without
somewhere in the dependency tree.default-features = false - profiler default
- macro default = agpu-macro
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.
- half default
-
Enables half ^1.8
- agpu-macro macro
- egui default
-
Enables egui ^0.17
Affects
agpu::egui
… - winit default
-
Enables winit ^0.26
Affects
agpu::winit
…