-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
59 lines (52 loc) · 1.59 KB
/
Cargo.toml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
[package]
name = "game-lib"
version = "0.9.14"
edition = "2021"
[workspace]
members = [
"launchers/wasm",
"launchers/native",
"bevy_ecs_tilemap_cpu_anim",
"bevy_tiled",
"cube_rot",
]
[[bin]]
doc = false
name="local-launcher"
path="launchers/native/src/main.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# bevy deps
bevy = { workspace = true }
bevy_ecs_tilemap = { workspace = true }
bevy_common_assets = { version = "0.4", features = ["json"] }
bevy_asset_loader = { workspace = true }
iyes_loopless = "0.9"
tiled = { workspace = true }
bevy-inspector-egui = { workspace = true }
bevy_pkv = "0.6"
bevy_framepace = "0.11"
# Other deps
anyhow = { workspace = true }
serde = { workspace = true, features = ["derive"] }
# Internal deps
bevy_tiled = { path = "bevy_tiled" }
bevy_ecs_tilemap_cpu_anim = { path = "bevy_ecs_tilemap_cpu_anim" }
cube_rot = { path = "cube_rot" }
[target.'cfg(target_arch = "wasm32")'.dependencies]
# Nothing
# All those crates aren't included in wasm builds, because they are
# either not needed will blow up the size too much
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
clap = { version = "4", features = ["cargo", "derive"] }
bevy_mod_debugdump = "0.6"
winit = { version = "0.27", default-features = false }
image = "0.24.5"
[workspace.dependencies]
serde = "1"
anyhow = "1"
bevy = "0.9"
bevy_ecs_tilemap = "0.9"
bevy-inspector-egui = "0.17"
tiled = { version = "0.10", default-features = false }
bevy_asset_loader = { version = "0.14", features = ["standard_dynamic_assets", "stageless"] }