Cargo Features

[dependencies]
simple-game-utils = { version = "0.5.2", default-features = false, features = ["controller", "serde", "sound", "prefs", "controller_xinput", "ici"] }
default = ici, prefs, serde, sound

These default features are set whenever simple-game-utils is added without default-features = false somewhere in the dependency tree.

controller = gilrs

Enables wgi of gilrs

Affects simple-game-utils::controller

serde default

Enables serde

sound default = audio-engine, hound

Affects simple-game-utils::sound_effect

prefs default = directories, serde_json

Enables serde

Affects simple-game-utils::prefs

controller_xinput = gilrs

Enables xinput of gilrs

ici default = ici-files

Affects tiles::ici

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.

gilrs controller? controller_xinput?
audio-engine sound
hound sound
serde_json prefs
directories prefs
ici-files ici