-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
44 lines (37 loc) · 837 Bytes
/
Cargo.toml
File metadata and controls
44 lines (37 loc) · 837 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
43
44
[package]
name = "tetris"
version = "0.2.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
# 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
[profile.release]
opt-level = "s"
lto = "thin"
[dependencies]
rand = "0.8"
ignore-result = "0.2"
bevy_asset_loader = "0.15.0"
[dependencies.bevy]
version = "0.10.0"
default-features = false
features = [
"bevy_core_pipeline",
"bevy_render",
"bevy_asset",
"bevy_sprite",
"bevy_audio",
"bevy_winit",
"bevy_ui",
"bevy_text",
"png",
"x11",
"vorbis",
]
[features]
default = ["fast-compile"]
fast-compile = ["bevy/dynamic_linking"]