[package] name = "starkingdoms-client" version = "0.1.0" edition = "2021" [lib] crate-type = ["cdylib", "rlib"] # Everywhere dependencies [dependencies] tracing = { workspace = true } tracing-subscriber = { workspace = true } bevy_ecs = { workspace = true } egui = { workspace = true } egui_glow = { workspace = true } winit = { workspace = true } glow = { workspace = true } thiserror = { workspace = true } image = { workspace = true } egui-winit = { workspace = true } web-time = { workspace = true } futures = { workspace = true } nalgebra = { workspace = true } starkingdoms-common = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } crossbeam = { workspace = true } resvg = { workspace = true } bytemuck = { workspace = true } # WASM dependencies [target.'cfg(target_arch = "wasm32")'.dependencies] tracing-web = "0.1" # Log output console_error_panic_hook = "0.1" # Give useful information in the panic response, other than the useless "entered unreachable code" wasm-bindgen = "0.2" web-sys = { version = "0.3", features = ["Window", "Location", "WebSocket", "MessageEvent", "HtmlCanvasElement"] } wasm-bindgen-futures = "0.4" ehttp = "0.5.0" poll-promise = { version = "0.3.0", features = ["web"] } # Native dependencies [target.'cfg(not(target_arch = "wasm32"))'.dependencies] pollster = "0.4" tungstenite = "0.26.1" glutin-winit = "0.5.0" glutin = "0.32.2"