Cargo Features
[dependencies]
haalka = { version = "0.3.0", default-features = false, features = ["ui", "text_input", "derive", "utils", "multicam", "debug", "webgpu", "deployed_wasm_example", "document-features", "bevy_audio", "bevy_core_pipeline", "bevy_gizmos", "bevy_pbr", "bevy_sprite"] }
- default = text_input, utils
-
These default features are set whenever
haalka
is added without
somewhere in the dependency tree.default-features = false - ui debug? text_input = bevy_core, bevy_derive, bevy_input, bevy_math, bevy_picking, bevy_reflect, bevy_render, bevy_text, bevy_transform, bevy_ui, bevy_window, bevy_winit, derive
-
High level UI abstractions integrated with signals.
- text_input default = bevy_color, bevy_cosmic_edit, ui
-
bevy_cosmic_edit text input widget integrated with signals.
- derive ui? = paste
-
Macro (
impl_haalka_methods!
) for deriving convenience methods for modifying components on custom element structs with static values, functions, or signals. - utils default
-
Utilities for working with async,
futures_signals::Mutable
s andfutures_signals::Signal
s. - multicam debug?
-
Compatibility feature threaded to bevy_cosmic_edit to handle multiple cameras, see considerations.
Enables multicam of optional bevy_cosmic_edit
- debug = bevy_dev_tools, multicam, ui
-
DebugUiPlugin
which enables togglingbevy_dev_tools::ui_debug_overlay::DebugUiPlugin
with theF1
key; requires a camera to be marked with theIsDefaultCamera
component. - webgpu
-
Pass-through for optionally enabling webgpu for examples.
Enables webgpu of optional bevy_core_pipeline, optional bevy_gizmos, optional bevy_pbr, optional bevy_render, and optional bevy_sprite
- deployed_wasm_example
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.
- bevy_color text_input
- bevy_core ui?
- bevy_derive ui?
- bevy_input ui?
- bevy_math ui?
- bevy_picking ui?
- bevy_reflect ui?
- bevy_render ui?
- bevy_text ui?
- bevy_transform ui?
- bevy_ui ui?
- bevy_window ui?
- bevy_winit ui?
- bevy_dev_tools debug?
- bevy_cosmic_edit text_input
- paste derive?
- document-features implicit feature
-
Enables document-features
document-features:
Extract documentation for the feature flags from comments in Cargo.toml
- bevy_audio wasm32 implicit feature
-
Enables bevy_audio
bevy_audio:
Provides audio functionality for Bevy Engine
- bevy_core_pipeline wasm32 implicit feature
-
Enables bevy_core_pipeline
bevy_core_pipeline:
Provides a core render pipeline for Bevy Engine
- bevy_gizmos wasm32 implicit feature
-
Enables bevy_gizmos
bevy_gizmos:
Provides gizmos for Bevy Engine
- bevy_pbr wasm32 implicit feature
-
Enables bevy_pbr
bevy_pbr:
Adds PBR rendering to Bevy Engine
- bevy_sprite wasm32 implicit feature
-
Enables bevy_sprite
bevy_sprite:
Provides sprite functionality for Bevy Engine