Cargo Features
[dependencies]
bevy_ecs_tiled = { version = "0.4.1", default-features = false, features = ["png", "bmp", "jpeg", "atlas", "render", "serde", "debug", "physics", "rapier", "rapier_debug", "avian", "avian_debug", "wasm", "user_properties"] }
- default = png, render
-
These default features are set whenever
bevy_ecs_tiled
is added without
somewhere in the dependency tree.default-features = false - png default
-
Expose image formats from bevy
Main dependencies
- bmp
- jpeg
- 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
- debug avian_debug? rapier_debug?
-
Debug
Enables bevy_gizmos of bevy
Affects
bevy_ecs_tiled::debug
… - physics avian? rapier?
-
Physics
Affects
bevy_ecs_tiled::physics
… - rapier rapier_debug? = bevy_rapier2d, physics
-
Affects
physics::rapier
… - rapier_debug = debug, rapier
-
Enables debug-render-2d of bevy_rapier2d
Optional dependencies, enabled via features.
- avian avian_debug? = physics
-
Enables avian2d
Affects
physics::avian
… - avian_debug = avian, debug
- wasm
-
WASM
Enables wasm-bindgen of bevy_rapier2d, wasm of tiled
- user_properties
-
User Properties
Enables serde and serde_json
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.