[package] edition = "2021" name = "bevy_ecs_tiled" version = "0.4.2" authors = ["Steve Pryde ", "Adrien Bon"] description = "A Bevy plugin for loading Tiled maps" homepage = "https://github.com/adrien-bon/bevy_ecs_tiled" license = "MIT" readme = "README.md" repository = "https://github.com/adrien-bon/bevy_ecs_tiled" categories = ["game-development"] keywords = ["bevy", "tiled", "tilemap", "game", "2d"] exclude = ["assets/*", "res/*"] [features] default = ["render", "png"] # Expose image formats from bevy png = ["bevy/png"] bmp = ["bevy/bmp"] jpeg = ["bevy/jpeg"] #gif = ["bevy/gif"] # Expose features of the bevy_ecs_tilemap crate. atlas = ["bevy_ecs_tilemap/atlas"] render = ["bevy_ecs_tilemap/render"] serde = ["bevy_ecs_tilemap/serde"] # Debug debug = ["bevy/bevy_gizmos"] # Physics physics = [] rapier = ["bevy_rapier2d", "physics"] rapier_debug = ["rapier", "bevy_rapier2d/debug-render-2d", "debug"] avian = ["dep:avian2d", "physics"] avian_debug = ["avian", "debug"] # WASM wasm = ["bevy_rapier2d/wasm-bindgen", "tiled/wasm"] # User Properties user_properties = ["dep:serde", "dep:serde_json"] [dependencies] # Main dependencies bevy = { version = "0.14", default-features = false } bevy_ecs_tilemap = { version = "0.14", default-features = false } tiled = "0.13" # Utilities futures-lite = "2.4" log = "0.4" thiserror = "2.0" # Optional dependencies, enabled via features. bevy_rapier2d = { version = "0.27", optional = true } avian2d = { version = "0.1", optional = true } serde = { version = "1.0", optional = true, features = ["derive"] } serde_json = { version = "1.0", optional = true } # docs.rs-specific configuration [package.metadata.docs.rs] features = ["debug","user_properties","physics","avian","rapier"] # cargo-all-features configuration [package.metadata.cargo-all-features] # only check 3 features at once max_combination_size = 3 # do not check bevy images features since we don't directly use them denylist = ["png", "bmp", "jpeg"] [dev-dependencies] bevy = { version = "0.14", features = ["file_watcher"] } bevy-inspector-egui = "0.27" [[example]] name = "basic" [[example]] name = "map_events" [[example]] name = "map_reload" [[example]] name = "map_settings" [[example]] name = "map_spawn_delay" [[example]] name = "orientation_orthogonal" required-features = ["debug"] [[example]] name = "orientation_isometric" required-features = ["debug"] [[example]] name = "orientation_hexagonal" required-features = ["debug"] [[example]] name = "physics_custom" required-features = ["physics"] [[example]] name = "physics_events" required-features = ["physics"] [[example]] name = "physics_rapier_settings" required-features = ["rapier_debug"] [[example]] name = "physics_rapier_orientation" required-features = ["rapier_debug"] [[example]] name = "physics_rapier_controller" required-features = ["rapier_debug"] [[example]] name = "physics_avian_settings" required-features = ["avian_debug"] [[example]] name = "physics_avian_controller" required-features = ["avian_debug"] [[example]] name = "physics_avian_orientation" required-features = ["avian_debug"] [[example]] name = "properties_basic" required-features = ["user_properties"]