Cargo Features
[dependencies]
bevy_streamdeck = { version = "0.4.0", default-features = false, features = ["color_compatibility", "image_compatibility", "images", "assets"] }
- default = assets, color_compatibility, image_compatibility
-
These default features are set whenever
bevy_streamdeck
is added without
somewhere in the dependency tree.default-features = false - color_compatibility default
-
Enables bevy_color of bevy
bevy:
Provides shared color types and operations
- image_compatibility default = images
-
Enables bevy_render and png of bevy
- images image_compatibility = image
-
Affects
bevy_streamdeck::ImageResize
,bevy_streamdeck::ImageMode
… - assets default
-
Enables bevy_asset of bevy
bevy:
Provides asset functionality
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.