Cargo Features
amethyst_input has no features set by default.
[dependencies]
amethyst_input = { version = "0.15.3", features = ["profiler", "sdl_controller"] }
- profiler
-
Enables thread_profiler of thread_profiler
thread_profiler:
Required for testing using the profile_scope!() macro
- sdl_controller = sdl2
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.
- sdl2 sdl_controller?
-
Enables sdl2 ^0.33
- thread_profiler profiler?