-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
75 lines (65 loc) · 3.2 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[package]
name = "wasm_battle_arena"
version = "0.3.4"
edition = "2021"
[profile.release]
opt-level = 's'
lto = "fat"
strip = "debuginfo"
debug = false
panic = "abort"
[profile.dev]
# set limited debug info
debug = 1
incremental = true
# optimizes only included packages on first build to help debug file size and speed
[profile.dev.package."*"]
opt-level = 3
[dependencies]
bevy = { version = "0.11", default-features = false, features = ["bevy_asset","bevy_winit","bevy_core_pipeline","bevy_render","bevy_sprite","multi-threaded","png","ktx2","zstd","tonemapping_luts","default_font","webgl2"]}
bevy_ggrs = { version = "0.13", features = ["wasm-bindgen"]}
ggrs = "0.9"
bevy_matchbox = { version = "0.7", features = ["ggrs"]}
bevy_asset_loader = { version = "0.17", features=["2d"]}
bevy_roll_safe = { git = "https://github.com/johanhelsing/bevy_roll_safe" }
bevy_egui = "0.22"
bevy_kira_audio = { version = "0.17", features=["ogg"] }
wasm-bindgen = { version = "0.2.88", optional = true }
seeded-random = "0.6"
bevy-inspector-egui = { version = "0.20", optional = true }
egui-toast = "0.9"
wee_alloc = { version = "0.4", optional = true }
cfg-if = "1.0"
[patch.crates-io]
bevy = { git = "https://github.com/johanhelsing/bevy", branch = "reflect-states-0.11" }
#bevy = { git = "https://github.com/bevyengine/bevy", branch = "main", features=["bevy_reflect"]}
#bevy_matchbox = { git = "https://github.com/johanhelsing/matchbox", branch = "main"}
bevy_matchbox = { path= "../matchbox/bevy_matchbox"}
# patch the dependencies of bevy-inspector-gui to the rollsafe versions
bevy_app = { git = "https://github.com/johanhelsing/bevy", branch = "reflect-states-0.11" }
bevy_asset = { git = "https://github.com/johanhelsing/bevy", branch = "reflect-states-0.11" }
bevy_core = { git = "https://github.com/johanhelsing/bevy", branch = "reflect-states-0.11" }
bevy_ecs = { git = "https://github.com/johanhelsing/bevy", branch = "reflect-states-0.11" }
bevy_hierarchy = { git = "https://github.com/johanhelsing/bevy", branch = "reflect-states-0.11" }
bevy_log = { git = "https://github.com/johanhelsing/bevy", branch = "reflect-states-0.11" }
bevy_math = { git = "https://github.com/johanhelsing/bevy", branch = "reflect-states-0.11" }
bevy_reflect = { git = "https://github.com/johanhelsing/bevy", branch = "reflect-states-0.11" }
bevy_utils = { git = "https://github.com/johanhelsing/bevy", branch = "reflect-states-0.11" }
bevy_window = { git = "https://github.com/johanhelsing/bevy", branch = "reflect-states-0.11" }
bevy_core_pipeline = { git = "https://github.com/johanhelsing/bevy", branch = "reflect-states-0.11" }
bevy_pbr = { git = "https://github.com/johanhelsing/bevy", branch = "reflect-states-0.11" }
bevy_render = { git = "https://github.com/johanhelsing/bevy", branch = "reflect-states-0.11" }
egui-toast = { git = "https://github.com/ConnorBP/egui-toast", branch="toast-sync" }
#egui-toast = { path = '../egui-toast' }
[features]
default = []
local = []
# disables rollback input delay for testing
no_delay = []
debug_render = ["dep:bevy-inspector-egui"]
sync_test = []
bindgen = ["dep:wasm-bindgen"]
wee_alloc = ["dep:wee_alloc"]
# connects to a different matchbox id than the public game
dev_net = []
dev = ["no_delay", "debug_render", "sync_test", "dev_net"]