Cargo Features
[dependencies]
bevy_ecs_tiled = { version = "0.3.10", default-features = false, features = ["atlas", "render", "serde", "physics", "rapier", "rapier_debug", "avian", "wasm", "user_properties"] }
- default = render
-
The
render
feature is set by default wheneverbevy_ecs_tiled
is added without
somewhere in the dependency tree.default-features = false - atlas
-
Expose features of the bevy_ecs_tilemap crate.
Enables atlas of bevy_ecs_tilemap
- render default
-
Enables render of bevy_ecs_tilemap
- serde
-
Enables serde of bevy_ecs_tilemap
- physics avian? rapier?
-
Physics
- rapier rapier_debug? = bevy_rapier2d, physics
-
Affects
physics::rapier
… - rapier_debug = rapier
-
Enables debug-render-2d of bevy_rapier2d
Optional dependencies, enabled via features.
- avian = physics
-
Enables avian2d
Affects
physics::avian
… - wasm
-
WASM
Enables wasm-bindgen of bevy_rapier2d, wasm of tiled
- user_properties
-
User Properties
Enables bevy_ecs_tiled_macros
Affects
bevy_ecs_tiled::properties
…
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.