~starkingdoms/starkingdoms

ref: 9b870669fd3788ea362c80d03259d4a1a8cc4037 starkingdoms/crates/client/Cargo.toml -rw-r--r-- 1.4 KiB
9b870669ghostly_zsh spawn on earth 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[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"