[workspace]
resolver = "2"

members = [
        "crates/renderer",
        "crates/window",
        "crates/game"
        ]

[profile.debug-release]
inherits = "release"
opt-level = 2
debug = true

[workspace.dependencies]
anyhow = "1.0.89"
thiserror = "2.0"
derive_more = { version = "1.0.0", features = ["deref", "deref_mut"] }

tracing = "0.1"
tracing-subscriber = {version ="0.3", features = ["env-filter"]}

glam = {version = "0.29.0", features = ["bytemuck"]}
rand = "0.9"
bitflags = "2.6"
thread_local = "1.1.8"

ash = "0.38.0"
ash-window = "0.13.0"
vk-mem = "0.4.0"
vk-sync = "0.1.6"

arrayvec = "0.7.6"
tinyvec = "1.8"
indexmap = "2"
petgraph = "0.7"
itertools = "0.14.0"
ahash = "0.8"

parking_lot = "0.12.3"

tokio = "1.42"
futures = "0.3"
smol = "2.0"
rayon = "1.10"

winit = {version = "0.30.5", features = ["rwh_06"]}
raw-window-handle = "0.6"

egui = "0.32"
egui_winit_platform = "0.27"

bevy_ecs = { version = "0.17.0-dev", git = "https://github.com/bevyengine/bevy", features = ["multi_threaded", "trace"]}
bevy_window = { version = "0.17.0-dev", git = "https://github.com/bevyengine/bevy" }
bevy_asset = { version = "0.17.0-dev", git = "https://github.com/bevyengine/bevy" }
bevy_reflect = { version = "0.17.0-dev", git = "https://github.com/bevyengine/bevy" }
bevy_utils = { version = "0.17.0-dev", git = "https://github.com/bevyengine/bevy" }
bevy_derive = { version = "0.17.0-dev", git = "https://github.com/bevyengine/bevy" }
bevy_math = { version = "0.17.0-dev", git = "https://github.com/bevyengine/bevy" }
bevy_transform = { version = "0.17.0-dev", git = "https://github.com/bevyengine/bevy" }
bevy_hierarchy = { version = "0.17.0-dev", git = "https://github.com/bevyengine/bevy" }
bevy_tasks = { version = "0.17.0-dev", git = "https://github.com/bevyengine/bevy" }
bevy_app = { version = "0.17.0-dev", git = "https://github.com/bevyengine/bevy" }
