Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
86 lines (78 loc) · 4.36 KB
/
Copy pathCargo.toml
File metadata and controls
86 lines (78 loc) · 4.36 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
[workspace]
resolver = "3"
members = ["crates/battle", "crates/simulation-memory", "apps/resonance", "apps/resonance-import", "apps/resonance-script", "crates/content", "crates/game", "crates/importer", "crates/presentation", "tools/oracle", "crates/symphonia-script", "crates/symphonia-script-vm", "crates/symphonia-script-compiler", "crates/symphonia-script-tools", "crates/resonance-events", "crates/media", "crates/audio-cook", "crates/audio", "crates/playback", "crates/audio-device", "crates/persistence", "crates/asset-writer", "crates/model-behavior", "crates/script-content", "crates/symphonia-constants"]
[workspace.package]
version = "0.7.0"
edition = "2024"
rust-version = "1.99"
license = "MIT"
[workspace.dependencies]
symphonia-constants = { path = "crates/symphonia-constants" }
resonance-battle = { path = "crates/battle" }
resonance-simulation-memory = { path = "crates/simulation-memory" }
resonance-model-behavior = { path = "crates/model-behavior" }
resonance-script-content = { path = "crates/script-content" }
resonance-asset-writer = { path = "crates/asset-writer" }
resonance-persistence = { path = "crates/persistence" }
resonance-playback = { path = "crates/playback" }
resonance-audio-device = { path = "crates/audio-device" }
anyhow = "1"
resonance-media = { path = "crates/media" }
resonance-audio-cook = { path = "crates/audio-cook" }
resonance-audio = { path = "crates/audio" }
thiserror = "2"
tracing = "0.1"
symphonia-script = { path = "crates/symphonia-script" }
symphonia-script-vm = { path = "crates/symphonia-script-vm" }
symphonia-script-compiler = { path = "crates/symphonia-script-compiler" }
symphonia-script-tools = { path = "crates/symphonia-script-tools" }
resonance-events = { path = "crates/resonance-events" }
clap = { version = "4", features = ["derive"] }
serde = { version = "1", features = ["derive", "rc"] }
serde_json = { version = "1", features = ["float_roundtrip"] }
time = { version = "0.3.55", default-features = false, features = ["std"] }
sha2 = "0.11.1"
glam = { version = "0.34.1", default-features = false, features = ["std"] }
image = { version = "0.25", default-features = false, features = ["png"] }
bevy = { version = "=0.20.1", default-features = false, features = ["std", "reflect_auto_register", "async_executor", "multi_threaded", "bevy_asset", "bevy_winit", "bevy_window", "bevy_render", "bevy_core_pipeline", "bevy_camera", "bevy_color", "bevy_image", "bevy_log", "bevy_gilrs", "bevy_gltf", "bevy_scene", "ktx2", "zstd_rust", "x11", "wayland"] }
raw-window-handle = "0.6"
resonance-content = { path = "crates/content" }
resonance-game = { path = "crates/game" }
resonance-importer = { path = "crates/importer" }
resonance-presentation = { path = "crates/presentation" }
[profile.dev]
debug = 0
# Keep development builds usable for real-time rendering and audio across the
# whole workspace. Debug assertions and overflow checks remain enabled.
opt-level = 2
debug-assertions = true
overflow-checks = true
# Workspace tests favor fast rebuilds; dependencies keep their runtime performance.
[profile.test]
opt-level = 0
[profile.test.package."*"]
opt-level = 2
[profile.release]
opt-level = 3
lto = "thin"
# Keep debugging data in the build artifacts; packaging strips distribution
# copies and retains these originals in the matching symbols archive.
debug = 1
strip = "none"
# Optimized local iteration without whole-program LTO on every executable.
[profile.release-fast]
inherits = "release"
lto = "off"
incremental = true
# Local iteration does not produce distribution debugging artifacts.
debug = 0
[patch.crates-io]
# wgpu 30.0.1 with our wgpu-core upload and tracker patches. The other crates
# are unchanged from v30.0.1; taking them from the same branch keeps one copy.
naga = { git = "https://github.com/rowanG077/wgpu", branch = "rowan/wgpu-core-30.0.1-patches" }
naga-types = { git = "https://github.com/rowanG077/wgpu", branch = "rowan/wgpu-core-30.0.1-patches" }
wgpu = { git = "https://github.com/rowanG077/wgpu", branch = "rowan/wgpu-core-30.0.1-patches" }
wgpu-core = { git = "https://github.com/rowanG077/wgpu", branch = "rowan/wgpu-core-30.0.1-patches" }
wgpu-hal = { git = "https://github.com/rowanG077/wgpu", branch = "rowan/wgpu-core-30.0.1-patches" }
wgpu-naga-bridge = { git = "https://github.com/rowanG077/wgpu", branch = "rowan/wgpu-core-30.0.1-patches" }
wgpu-types = { git = "https://github.com/rowanG077/wgpu", branch = "rowan/wgpu-core-30.0.1-patches" }