-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
91 lines (75 loc) · 1.58 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
[package]
name = "life-engine-rs"
version = "0.1.0"
publish = false
authors = ["Daniel Gallups <[email protected]>"]
edition = "2021"
[workspace]
members = ["mobile"]
[dependencies]
log = { version = "0.4", features = [
"max_level_debug",
"release_max_level_warn",
], optional = true }
rand = "0.8"
bevy_kira_audio = { version = "0.20" }
bevy_asset_loader = { version = "0.21" }
webbrowser = { version = "1", features = ["hardened"] }
# keep the following in sync with Bevy's dependencies
winit = { version = "0.30", default-features = false }
image = { version = "0.25", default-features = false }
bevy_spatial = "0.9.0"
[features]
dev = ["bevy/dynamic_linking"]
[dependencies.bevy]
version = "0.14"
features = [
"symphonia-wav",
"animation",
"bevy_asset",
"bevy_state",
"bevy_color",
"bevy_gilrs",
"bevy_scene",
"bevy_winit",
"bevy_core_pipeline",
"bevy_pbr",
"bevy_gltf",
"bevy_render",
"bevy_sprite",
"bevy_text",
"bevy_ui",
"multi_threaded",
"png",
"hdr",
"x11",
"bevy_gizmos",
"tonemapping_luts",
"smaa_luts",
"default_font",
"webgl2",
"sysinfo_plugin",
]
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 3
[profile.release]
codegen-units = 1
lto = "thin"
# Profile for distribution
[profile.dist]
inherits = "release"
opt-level = 3
lto = true
codegen-units = 1
strip = true
[profile.wasm-release]
inherits = "release"
opt-level = "s"
strip = "debuginfo"
[build-dependencies]
embed-resource = "1"
[lints.clippy]
too_many_arguments = "allow"
type_complexity = "allow"