-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
54 lines (50 loc) · 1.14 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
[package]
name = "ascii-bomb-ecs"
version = "0.1.0"
edition = "2021"
[lib]
name = "ascii_bomb_ecs_lib"
crate-type = ["cdylib", "rlib"]
[dependencies]
rand = "0.8"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
parking_lot = "0.11.2"
cfg-if = "1.0"
rodio = { version = "0.14", default-features = false, features = ["wav", "vorbis"] }
anyhow = "1.0"
itertools = "0.10"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
bevy = { version = "0.11", default-features = false, features = [
"dynamic_linking",
"bevy_winit",
"png",
"bevy_core_pipeline",
"bevy_sprite",
"bevy_text",
"bevy_ui",
"x11",
"bevy_asset",
] }
kira = "0.5.3"
[target.'cfg(target_arch = "wasm32")'.dependencies]
bevy = { version = "0.11", default-features = false, features = [
"bevy_winit",
"png",
"bevy_core_pipeline",
"bevy_sprite",
"bevy_text",
"bevy_ui",
"bevy_asset",
"webgl2",
] }
once_cell = "1.8.0"
wasm-bindgen = "0.2"
web-sys = { version = "0.3", features = [
"AudioBuffer",
"AudioBufferSourceNode",
"AudioContext",
"AudioDestinationNode",
"AudioParam",
"GainNode",
] }