This repository was archived by the owner on May 27, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
65 lines (56 loc) · 1.79 KB
/
Copy pathCargo.toml
File metadata and controls
65 lines (56 loc) · 1.79 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
[workspace]
resolver = "2"
members = [
"crates/souprune",
"crates/bevy_ecs_typewriter",
"crates/bevy_fact_rule_event",
"crates/bevy_mortar_bond",
"crates/bevy_alight_motion",
"crates/bevy_bitmap_text",
"crates/souprune_api",
"crates/souprune_sdk",
"crates/souprune_mock_host",
"crates/souprune_schema",
"crates/souprune_lint",
"crates/cauld-ron",
"crates/souprune_cauld_ron",
"crates/prune",
]
# Exclude mortar submodule - it has its own workspace
# souprune_mod_test is WASM-target only, build with: cargo build -p souprune_mod_test --target wasm32-wasip2
exclude = [
"crates/mortar",
"third_party/iyes_perf_ui",
"crates/souprune_mod_test",
"crates/souprune_builtins",
]
# Use local submodule/workspace crates during development
[patch.crates-io]
mortar_compiler = { path = "crates/mortar/crates/mortar_compiler" }
iyes_perf_ui = { path = "third_party/iyes_perf_ui" }
bevy_fact_rule_event = { path = "crates/bevy_fact_rule_event" }
bevy_mortar_bond = { path = "crates/bevy_mortar_bond" }
bevy_ecs_typewriter = { path = "crates/bevy_ecs_typewriter" }
bevy_alight_motion = { path = "crates/bevy_alight_motion" }
bevy_bitmap_text = { path = "crates/bevy_bitmap_text" }
cpal = { path = "third_party/cpal-0.15.3-android" }
[workspace.lints.rust]
# Enable a small amount of optimization in the dev profile.
[profile.dev]
opt-level = 1
debug = 1
incremental = true
# Enable a large amount of optimization in the dev profile for dependencies.
[profile.dev.package."*"]
opt-level = 3
debug = 0
# Ensure audio libraries are always optimized to prevent underruns
[profile.dev.package.cpal]
opt-level = 3
[profile.dev.package.symphonia]
opt-level = 3
# CI profile for faster builds without debug info
[profile.ci]
inherits = "release"
debug = false
strip = true