rust-gpu/Cargo.toml

32 lines
946 B
TOML
Raw Normal View History

2020-09-11 11:09:06 +00:00
[workspace]
members = [
"examples/runners/cpu",
"examples/runners/ash",
"examples/runners/wgpu",
"examples/shaders/sky-shader",
"examples/shaders/simplest-shader",
"examples/shaders/compute-shader",
"examples/shaders/mouse-shader",
"crates/rustc_codegen_spirv",
"crates/spirv-builder",
"crates/spirv-std",
"tests",
"tests/deps-helper",
2020-09-11 11:09:06 +00:00
]
# Compile build-dependencies in release mode with
# the same settings as regular dependencies.
[profile.release.build-override]
opt-level = 3
codegen-units = 16
2021-03-16 08:59:08 +00:00
[patch.crates-io]
spirv-std = { path = "./crates/spirv-std" }
2021-03-17 11:33:50 +00:00
spirv-std-macros = { path = "./crates/spirv-std-macros" }
glam = { git = "https://github.com/bitshifter/glam-rs.git", rev ="b3e94fb" }
# TODO: Needed for handling SPIR-V extension across platforms. Remove once
# next version is released.
compiletest_rs= { git = "https://github.com/Manishearth/compiletest-rs.git", rev = "1f4a4c4" }