-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
38 lines (29 loc) · 916 Bytes
/
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
[package]
name = "minesweeper-tutorial"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = []
debug = ["board_plugin/debug", "bevy-inspector-egui"]
[dependencies]
board_plugin = { path = "board_plugin" }
# Hierarchy inspector debug
bevy-inspector-egui = { version = "~0.8", optional = true }
[dependencies.bevy]
version = "~0.6"
default-features = false
features = ["render", "bevy_winit", "png"]
# Dependencies for native only.
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.bevy]
version = "~0.6"
default-features = false
features = ["x11"]
[workspace]
members = ["board_plugin"]
# Enable optimizations for dependencies (incl. Bevy), but not for our code:
[profile.dev.package."*"]
opt-level = 3
# Maybe also enable only a small amount of optimization for our code:
[profile.dev]
opt-level = 1