Cargo Features
[dependencies]
chargrid_graphical = { version = "0.7.2", default-features = false, features = ["serialize", "gamepad", "wgpu", "ggez", "ggez_serialize", "ggez_gamepad"] }
- default = wgpu
-
The
wgpu
feature is set by default wheneverchargrid_graphical
is added without
somewhere in the dependency tree.default-features = false - serialize
-
Enables serialize of chargrid_wgpu ^0.1
- gamepad
-
Enables gamepad of chargrid_wgpu ^0.1
- wgpu default = chargrid_wgpu
- ggez = chargrid_ggez
- ggez_serialize
-
Enables serialize of chargrid_ggez ^0.1
- ggez_gamepad
-
Enables gamepad of chargrid_ggez ^0.1
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.
- chargrid_wgpu gamepad? serialize? wgpu
-
Enables chargrid_wgpu ^0.1
- chargrid_ggez ggez? ggez_gamepad? ggez_serialize?
-
Enables chargrid_ggez ^0.1