-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
42 lines (34 loc) · 928 Bytes
/
Copy pathCargo.toml
File metadata and controls
42 lines (34 loc) · 928 Bytes
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
[package]
name = "bevy-texture-coloring-example"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "bevy-texture-coloring-example"
path = "src/main.rs"
[workspace]
resolver = "2" # Important! wgpu/Bevy needs this!
[lints.clippy]
enum_glob_use = "warn"
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
unwrap_used = "warn"
# Enable a small amount of optimization in debug mode
[profile.dev]
opt-level = 1
# Enable high optimizations for dependencies (incl. Bevy), but not for our code:
[profile.dev.package."*"]
opt-level = 3
[dependencies]
bevy = "0.13.2"
bevy-inspector-egui = "0.24.0"
bevy_egui = "0.27.0"
bevy_panorbit_camera = { version = "0.18.1", features = ["bevy_egui"] }
bevy-scene-hook = "10.0.0"
[profile.release]
strip = true
# Optimize for binary size for WASM (build is slower)
[profile.release-wasm]
inherits = "release"
opt-level = 'z'
lto = true
codegen-units = 1