Cargo Features
[dependencies]
emerald = { version = "0.3.214", default-features = false, features = ["audio", "gamepads", "aseprite", "hotreload", "physics-deterministic"] }
- default = aseprite, audio, gamepads
-
These default features are set whenever
emerald
is added without
somewhere in the dependency tree.default-features = false - audio default = kira
- gamepads default = gamepad
- aseprite default = asefile
-
Affects
components::aseprite
… - hotreload
- physics-deterministic
-
Enables enhanced-determinism of rapier2d ^0.15.0
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.