Cargo Features
[dependencies]
bevy_mod_raycast = { version = "0.18.0", default-features = false, features = ["2d", "debug"] }
- default = 2d, debug
-
These default features are set whenever
bevy_mod_raycast
is added without
somewhere in the dependency tree.default-features = false - 2d default = bevy_sprite
-
Affects
immediate::Raycast.mesh2d_query
… - debug default = bevy_gizmos
-
Affects
deferred::RaycastPluginState.update_debug_cursor
,deferred::debug
…
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_gizmos debug
-
Enables bevy_gizmos ^0.14.0
- bevy_sprite 2d
-
Enables bevy_sprite ^0.14.0