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
somewhere in the dependency tree.default-features = false - controller = 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
- 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.