-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCargo.toml
87 lines (76 loc) · 2.08 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
76
77
78
79
80
81
82
83
84
85
86
87
[package]
name = "bevy_retrograde"
version = "0.3.0"
authors = ["Katharos Technology LLC."]
edition = "2021"
resolver = "2"
license-file = "LICENSE.md"
readme = "README.md"
description = "Pixel-Perfect, 2D Renderer and plugins for Bevy that Seamlessly Targets Desktop and Web"
repository = "https://github.com/katharostech/bevy_retrograde"
documentation = "https://docs.rs/bevy_retrograde"
keywords = ["bevy", "gamedev", "2D", "bevy_retrograde", "pixel-perfect"]
categories = [
"game-engines",
"multimedia",
"rendering::engine",
"wasm"
]
exclude = [
"examples/screenshots/"
]
[workspace]
members = ["crates/*"]
[features]
default = [
"audio",
"ldtk",
"ui",
"physics",
]
audio = ["bevy_kira_audio"]
# text = ["bevy_retrograde_text"]
ui = ["bevy_retrograde_ui"]
physics = ["bevy_retrograde_physics"]
ldtk = ["bevy_ecs_ldtk"]
physics_debug = ["bevy_retrograde_physics/debug"]
[dependencies.bevy]
version = "0.11.0"
default-features = false
features = [
"bevy_winit",
"png",
"x11",
"wayland",
"filesystem_watcher",
]
[dependencies]
bevy_retrograde_macros = { version = "0.2", path = "crates/bevy_retrograde_macros" }
bevy_kira_audio = { version = "0.16.0", optional = true }
bevy_ecs_ldtk = { version = "0.8.0", features = ["atlas"], optional = true }
bevy_retrograde_ui = { version = "0.3", path = "crates/bevy_retrograde_ui", optional = true }
bevy_retrograde_physics = { version = "0.3", path = "crates/bevy_retrograde_physics", optional = true }
dashmap = "5.3.4"
lazy_static = "1.4.0"
[target.'cfg(target_arch = "wasm32")'.dependencies]
web-sys = { version = "0.3", features=["Window"] }
[dev-dependencies]
hex = "0.4.3"
rand = "0.8.3"
image = "0.24.6"
serde = { version = "1.0.137", features = ["derive"] }
serde_yaml = "0.9.25"
ron = "0.8.0"
[profile.dev]
opt-level = 2
debug = 0
# Add some examples explicitly so we can say they requires the extra `ldtk`
# or `epaint` features.
[[example]]
name = "ldtk_map"
path = "examples/ldtk_map.rs"
required-features = ["ldtk"]
[[example]]
name = "physics_map"
path = "examples/physics_map.rs"
required-features = ["ldtk"]