[package] name = "starkingdoms" description = "A game about floating through space" edition = "2024" version = "0.1.0" [dependencies] bevy = { workspace = true } avian2d = { workspace = true } bevy_common_assets = { workspace = true } tracing-subscriber = { workspace = true } serde = { workspace = true } rand = { workspace = true } getrandom = { workspace = true } pico-args = { workspace = true } leafwing-input-manager = { workspace = true } good_lp = { workspace = true } web-time = { workspace = true } aeronet = { workspace = true } aeronet_transport = { workspace = true } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] ctrlc = { workspace = true, optional = true } aeronet_websocket = { workspace = true, features = ["client", "server"] } aeronet_replicon = { workspace = true, features = ["client", "server"] } bevy_replicon = { workspace = true, features = ["client", "server"] } [target.'cfg(target_arch = "wasm32")'.dependencies] wasm-bindgen = { workspace = true } tracing-web = { workspace = true } console_error_panic_hook = { workspace = true } aeronet_websocket = { workspace = true, features = ["client"] } aeronet_replicon = { workspace = true, features = ["client"] } bevy_replicon = { workspace = true, features = ["client"] } [features] native_dev = [ "bevy/file_watcher", "bevy/hotpatching", "bevy/dynamic_linking", "native", "aeronet_replicon/server", "bevy_replicon/server" ] native = [ "bevy/x11", "bevy/wayland", "dep:ctrlc" ] wasm = ["getrandom/wasm_js", "bevy/webgl2"]