Cargo Features

sardonyx_input has no features set by default.

[dependencies]
sardonyx_input = { version = "0.0.3", features = ["profiler", "nightly", "sdl_controller"] }
profiler

Enables thread_profiler of thread_profiler

thread_profiler:

Required for testing using the profile_scope!() macro

nightly

Enables nightly of sardonyx_core

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.31.0

thread_profiler profiler?