-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
108 lines (99 loc) · 3.32 KB
/
Cargo.toml
File metadata and controls
108 lines (99 loc) · 3.32 KB
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
[workspace]
resolver = "3"
members = [
"crates/engine",
"crates/game_logic",
"crates/runner",
"crates/engine/crates/connect_math",
"crates/engine/crates/asset_management/connect_importer",
"crates/engine/crates/asset_management/connect_loader",
"crates/engine/crates/asset_management/connect_asset_database",
"crates/engine/crates/asset_management/connect_shared",
"crates/engine/crates/connect_information",
"crates/engine/crates/connect_renderer",
# "crates/engine/crates/physics",
]
[workspace.dependencies]
rayon = "1.11.0"
bevy_ecs = { version = "0.18.1", default-features = false, features = [
"std",
"backtrace",
"multi_threaded",
"debug",
] }
winit = { version = "=0.31.0-beta.2", default-features = false }
rapier3d = { version = "0.32.0", features = ["simd-stable", "parallel"] }
asset-importer = { version = "0.7.0", default-features = false, features = [
"bytemuck",
"glam",
"build-assimp",
] }
walkdir = "2.5"
serde = { version = "1.0.228", features = ["derive"] }
toml = "1.0.4"
rkyv = { version = "0.8.15", features = ["uuid-1"] }
uuid = { version = "1.21.0", features = [
"fast-rng",
"v4",
"serde",
"v5",
"macro-diagnostics",
] }
uuid-simd = { version = "0.8", default-features = false, features = ["std"] }
meshopt = "0.6.2"
image = { version = "0.25.9", default-features = false, features = [
"png",
"jpeg",
"hdr",
"rayon",
] }
padding-struct = "0.2.0"
bytemuck = "1.25.0"
vulkan = { package = "vulkanalia", git = "https://github.com/Jerrody/vulkanalia", features = [
"window",
"libloading",
] }
vulkan_vma = { package = "vulkanalia-vma", git = "https://github.com/Jerrody/vulkanalia" }
slotmap = { git = "https://github.com/Jerrody/slotmap" }
memmap2 = "0.9.10"
ahash = "0.8.12"
nameof = "1.3.0"
texture_compressor = { package = "intel_tex_2", version = "0.5.0" }
texture_resizer = { package = "fast_image_resize", version = "6.0.0", features = [
"rayon",
"image",
] }
half = { version = "2.7.1", features = ["bytemuck", "use-intrinsics"] }
connect_engine = { path = "crates/engine" }
game_logic = { path = "crates/game_logic" }
connect_math = { path = "crates/engine/crates/connect_math" }
connect_importer = { path = "crates/engine/crates/asset_management/connect_importer" }
connect_loader = { path = "crates/engine/crates/asset_management/connect_loader" }
connect_shared = { path = "crates/engine/crates/asset_management/connect_shared" }
connect_asset_database = { path = "crates/engine/crates/asset_management/connect_asset_database" }
connect_information = { path = "crates/engine/crates/connect_information" }
connect_renderer = { path = "crates/engine/crates/connect_renderer" }
# physics = { path = "crates/engine/crates/physics" }
[profile.dev]
opt-level = 0
debug = 2
[profile.dev.package.rapier3d]
opt-level = 3
codegen-units = 1
[profile.dev.build-override]
opt-level = 2
debug = 0
[profile.dev.package.math]
opt-level = 3
[profile.dev.package.physics]
opt-level = 3
[profile.dev.package."*"]
opt-level = 3
codegen-units = 1
debug = 0
[profile.release]
opt-level = 3
# FIXME: Windows doesn't support LTO, when we use dynamic library linking. Windows SUCKS.
# In future, will be remade system to use the "Export Tamplate" pattern, where we have an Editor Engine version and a Standalone Engine version.
# lto = true
codegen-units = 1