[package]
name = "rustc_codegen_spirv"
description = "SPIR-V code generator backend for rustc"
documentation = "https://embarkstudios.github.io/rust-gpu/api/rustc_codegen_spirv/index.html"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
[lib]
crate-type = ["dylib"]
[features]
default = ["use-compiled-tools"]
use-installed-tools = ["spirv-tools/use-installed-tools"]
use-compiled-tools = ["spirv-tools/use-compiled-tools"]
skip-toolchain-check = []
[build-dependencies]
syn = { version = "1", features = ["extra-traits", "full"] }
[dependencies]
hashbrown = "0.11"
libc = { version = "0.2", features = ["align", "extra_traits"] }
num-traits = { version = "0.2", features = ["libm"] }
once_cell = "1"
regex = { version = "1", features = ["perf"] }
ar = "0.9.0"
either = "1.8.0"
indexmap = "1.6.0"
rspirv = "0.11"
rustc-demangle = "0.1.21"
sanitize-filename = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
smallvec = { version = "1.6.1", features = ["union"] }
spirv-tools = { version = "0.9", default-features = false }
rustc_codegen_spirv-types.workspace = true
spirt = "0.3.0"
lazy_static = "1.4.0"
itertools = "0.10.5"
[dev-dependencies]
pipe = "0.4"
pretty_assertions = "1.0"
tempfile = "3.4"
[package.metadata.rust-analyzer]
rustc_private = true