-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
138 lines (126 loc) · 3.05 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[package]
name = "stratmat"
version.workspace = true
authors.workspace = true
edition = "2021"
[workspace.package]
version = "0.2.0"
authors = ["Alexis 'spectria.limina' Hunt"]
[features]
default = ["egui"]
dom = []
egui = [
"dep:bevy_egui",
"dep:bevy-inspector-egui",
"dep:bevy_vector_shapes",
"avian2d/debug-plugin",
"bevy/bevy_animation",
"bevy/default_font",
"bevy/jpeg",
"bevy/multi_threaded",
"bevy/png",
"bevy/webp",
"bevy/bevy_core_pipeline",
"bevy/bevy_render",
"bevy/bevy_sprite",
"bevy/bevy_text",
"bevy/bevy_winit",
"bevy/x11",
"bevy/webgl2",
]
[workspace.dependencies]
tataru = { path = "tools/tataru" }
bevy = { version = "0.15.0", default-features = false, features = [
"bevy_asset",
"bevy_picking",
"bevy_scene",
"serialize",
"trace",
] }
clap = { version = "4.5.21", features = ["derive", "env"] }
eyre = "0.6.12"
map-macro = "0.3.0"
serde = { version = "1.0.215", features = ["derive"] }
serde_json = "1.0.133"
tracing = "0.1.41"
tracing-subscriber = "0.3.19"
[dependencies]
avian2d = { version = "0.1.2", features = [
"2d",
"default-collider",
"f32",
"parry-f32",
], default-features = false }
bevy = { workspace = true, features = ["bevy_color"] }
bevy-inspector-egui = { version = "0.28.0", optional = true, default-features = false, features = [
"bevy_render",
"bevy_image",
"egui_clipboard",
"egui_open_url",
] }
bevy_egui = { version = "0.31.1", optional = true }
bevy_vector_shapes = { version = "0.9.2", optional = true }
chrono = "0.4.38"
clap.workspace = true
derive-where = "1.2.7"
derive_more = { version = "1.0.0", default-features = false, features = [
"from",
"debug",
] }
enum-iterator = "2.1.0"
eyre.workspace = true
fixedbitset = "0.5.7"
float_eq = "1.0.1"
i-cant-believe-its-not-bsn = "0.2.0"
int-enum = "1.1.2"
itertools = "0.13.0"
log = "0.4.22"
prettytable = "0.10.0"
ron = "0.8.1"
serde.workspace = true
serde_json.workspace = true
tataru.workspace = true
thiserror = "2.0.3"
tracing.workspace = true
uuid = "1.11.0"
[target.'cfg(target_arch = "wasm32")'.dependencies]
convert_case = "0.6.0"
custom-elements = "0.2.1"
js-sys = "0.3.74"
wasm-bindgen = "0.2.97"
web-sys = { version = "0.3.74", features = [
"console",
"CssStyleDeclaration",
"Document",
"DomStringMap",
"Element",
"HtmlCanvasElement",
"HtmlElement",
"NodeList",
"ShadowRoot",
"SvgAnimatedLength",
"SvgAnimatedString",
"SvgImageElement",
"SvgLength",
"SvgsvgElement",
"Window",
] }
# As if this won't thrash cache...
[profile.dom]
inherits = "dev"
# Enable a small amount of optimization in debug mode
# [profile.dev]
# opt-level = 1
# Enable high optimizations for dependencies (esp. Bevy), but not for our code:
[profile.dev.package."*"]
opt-level = 3
[profile.release]
codegen-units = 1
lto = "fat"
strip = true
[profile.release-size]
inherits = "release"
opt-level = "z"
[patch.crates-io]
# These crates haven't yet released with 0.15 support.
avian2d = { git = "https://github.com/Jondolf/avian.git", rev = "b47c30c" }