[workspace]
resolver = "3"
members = ["crates/*"]

[workspace.dependencies]
avian3d = { version = "0.3", default-features = false, features = [
    "3d",
    "f32",
    "parry-f32",
    "collider-from-mesh",
    "bevy_scene",
    "bevy_picking",       # todo: Consider if this one is necessary
    "parallel",
    "serialize",
] }
bevy = { version = "0.16.0", default-features = false, features = [
    "animation",
    "async_executor",
    "bevy_asset",
    "bevy_color",
    "bevy_core_pipeline",
    "bevy_gilrs",
    "bevy_gizmos",
    "bevy_gltf",
    "bevy_input_focus",
    "bevy_log",
    "bevy_mesh_picking_backend",
    "bevy_pbr",
    "bevy_picking",
    "bevy_render",
    "bevy_scene",
    "bevy_sprite",
    "bevy_sprite_picking_backend",
    "bevy_state",
    "bevy_text",
    "bevy_ui",
    "bevy_ui_picking_backend",
    "custom_cursor",
    "default_font",
    "hdr",
    "multi_threaded",
    "png",
    "smaa_luts",
    "std",
    "sysinfo_plugin",
    "tonemapping_luts",
    "vorbis",
    "webgl2",
    "x11",
    "track_location",
] }
bevy-inspector-egui = { version = "0.31" }
bevy-steamworks = "0.13.0"
bevy-ui-gradients = "0.4.0"
bevy_asset_loader = "0.23.0-rc.3"
bevy_ballistic = "0.4.0"
bevy_common_assets = { version = "0.13.0", features = ["ron"] }
bevy_debug_log = "0.6.0"
bevy_sprite3d = "5.0.0"
bevy_trenchbroom = { version = "0.8.1", default-features = false, features = [
    "avian",
] }
happy_feet = { git = "https://github.com/atornity/happy_feet.git", rev = "1b24ed95f166e63af35e7b6f9f0053d6d28e1f1a", features = [
    "serde",
] }
lightyear = { version = "0.24", git = "https://github.com/cBournhonesque/lightyear", rev = "69675e5f7b305ae02c3c2c3cd320bbc3e442ee4d", default-features = false, features = [
    "input_native",
    "interpolation",
    "netcode",
    "prediction",
    "replication",
    "std",
    "udp",
] }
lightyear_avian3d = { git = "https://github.com/cBournhonesque/lightyear", rev = "69675e5f7b305ae02c3c2c3cd320bbc3e442ee4d" }
lightyear_serde = { git = "https://github.com/cBournhonesque/lightyear", rev = "69675e5f7b305ae02c3c2c3cd320bbc3e442ee4d" }
nil = "0.14.0"
rand = "=0.8.5"
ron = "0.8"
serde = { version = "1.0.219", features = ["derive"] }
shared = { path = "crates/shared" }
steamworks = "0.11"

[profile.dev.package."*"]
opt-level = 3

[patch.crates-io]
bevy-steamworks = { git = "https://github.com/HouraiTeahouse/bevy_steamworks.git", rev = "1933e5d" }
