Cargo Features
amethyst_utils has no features set by default.
[dependencies]
amethyst_utils = { version = "0.15.3", features = ["vulkan", "metal", "empty", "profiler"] }
- vulkan
-
Enables vulkan and vulkan-x11 of amethyst_rendy
- metal
-
Enables metal of amethyst_rendy
- empty
-
Enables empty of amethyst_rendy
- profiler
-
Enables thread_profiler of thread_profiler
thread_profiler:
Required for testing using the profile_scope!() 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.