rust-gpu/Cargo.toml

63 lines
2.2 KiB
TOML
Raw Permalink Normal View History

2020-09-11 11:09:06 +00:00
[workspace]
2021-10-14 14:38:15 +00:00
resolver = "2"
2020-09-11 11:09:06 +00:00
members = [
"examples/runners/cpu",
"examples/runners/ash",
"examples/runners/wgpu",
"examples/runners/wgpu/builder",
2022-02-07 12:39:35 +00:00
"examples/shaders/reduce",
"examples/shaders/sky-shader",
"examples/shaders/simplest-shader",
"examples/shaders/compute-shader",
"examples/shaders/mouse-shader",
"examples/multibuilder",
"crates/rustc_codegen_spirv",
"crates/rustc_codegen_spirv-types",
"crates/spirv-builder",
"crates/spirv-std",
"crates/spirv-std/shared",
"crates/spirv-std/macros",
"tests",
"tests/deps-helper",
2020-09-11 11:09:06 +00:00
]
2022-11-22 14:28:53 +00:00
[workspace.package]
2023-07-25 09:25:05 +00:00
version = "0.9.0"
2022-11-22 14:28:53 +00:00
authors = ["Embark <opensource@embark-studios.com>"]
2022-11-30 01:53:11 +00:00
edition = "2021"
2022-11-22 14:28:53 +00:00
license = "MIT OR Apache-2.0"
repository = "https://github.com/EmbarkStudios/rust-gpu"
[workspace.lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(target_arch, values("spirv"))'] }
2022-11-22 14:28:53 +00:00
[workspace.dependencies]
spirv-builder = { path = "./crates/spirv-builder", version = "=0.9.0", default-features = false }
2023-07-25 09:25:05 +00:00
spirv-std = { path = "./crates/spirv-std", version = "=0.9.0" }
spirv-std-types = { path = "./crates/spirv-std/shared", version = "=0.9.0" }
spirv-std-macros = { path = "./crates/spirv-std/macros", version = "=0.9.0" }
spirv-tools = { version = "0.10", default-features = false }
2023-07-25 09:25:05 +00:00
rustc_codegen_spirv = { path = "./crates/rustc_codegen_spirv", version = "=0.9.0", default-features = false }
rustc_codegen_spirv-types = { path = "./crates/rustc_codegen_spirv-types", version = "=0.9.0" }
2022-11-22 14:28:53 +00:00
# External dependencies that need to be mentioned more than once.
num-traits = { version = "0.2.15", default-features = false }
glam = { version = ">=0.22, <=0.29", default-features = false }
# Enable incremental by default in release mode.
[profile.release]
incremental = true
# HACK(eddyb) this is the default but without explicitly specifying it, Cargo
# will treat the identical settings in `[profile.release.build-override]` below
# as different sets of `rustc` flags and will not reuse artifacts between them.
codegen-units = 256
# Compile build-dependencies in release mode with the same settings
# as regular dependencies (including the incremental enabled above).
[profile.release.build-override]
opt-level = 3
incremental = true
2022-11-24 14:47:23 +00:00
codegen-units = 256