-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
43 lines (31 loc) · 1.41 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
[workspace]
members = [ "./crates/*", "./crates/*/shader" ]
resolver = "2"
# compile build scripts (which might include rust-gpu) optimized
[profile.release.build-override]
opt-level = 3
codegen-units = 16
# compile build scripts (which might include rust-gpu) optimized
[profile.dev.build-override]
opt-level = 3
# compile dependencies (not workspace member) optimized
# https://doc.rust-lang.org/cargo/reference/profiles.html#overrides
[profile.dev.package."*"]
opt-level = 3
# [profile.release]
# debug = true
[patch.crates-io]
# bevy = { git="https://github.com/bevyengine/bevy", branch="main" }
bevy = { git = "https://github.com/molikto/bevy", branch="shader-bypass" }
bevy_crevice = { git = "https://github.com/molikto/bevy", branch="shader-bypass" }
# bevy = { path="../bevy" }
# bevy_crevice = { path="../bevy/crates/bevy_crevice" }
naga = { git="https://github.com/gfx-rs/naga", rev="f9b348557a31053cd97156178c26f7d9f3205a7d" }
# glam = { path= "../glam-rs" }
# [patch."https://github.com/bevyengine/bevy"]
# bevy = { git = "https://github.com/molikto/bevy", branch="shader-bypass" }
# bevy_crevice = { git = "https://github.com/molikto/bevy", branch="shader-bypass" }
[patch."https://github.com/EmbarkStudios/rust-gpu"]
spirv-builder = { git= "https://github.com/molikto/rust-gpu", branch="my-main"}
# spirv-builder = { path = "..\\rust-gpu\\crates\\spirv-builder" }
## bevy 4423a2fa2dc82fad71525ed3f44e16b8481a4902