[dependencies.bitflags]
version = "2.6.0"
[dependencies.bytemuck]
features = ["must_cast"]
version = "1.17.1"
[dependencies.gfx-maths]
optional = true
version = "0.2.9"
[dependencies.glam]
optional = true
version = "0.29.0"
[dependencies.half]
optional = true
version = "2.4.1"
[dependencies.memchr]
version = "2.7.4"
[dependencies.spirv]
version = "0.3.0"
[dependencies.spirv-cross-sys]
version = "0.4.0"
[dependencies.spirv-cross2-derive]
version = "0.1.0"
[dependencies.thiserror]
version = "1.0.63"
[dev-dependencies.glslang]
version = "0.4.0"
[features]
cpp = ["spirv-cross-sys/cpp"]
default = ["glsl", "hlsl", "msl"]
f16 = ["dep:half"]
full = ["gfx-math-types", "glam-types", "f16", "glsl", "hlsl", "msl", "json", "cpp"]
gfx-math-types = ["dep:gfx-maths"]
glam-types = ["dep:glam"]
glsl = ["spirv-cross-sys/glsl"]
hlsl = ["spirv-cross-sys/hlsl"]
json = ["spirv-cross-sys/json"]
msl = ["spirv-cross-sys/msl"]
[lib]
name = "spirv_cross2"
path = "src/lib.rs"
[package]
authors = ["Ronny Chan <ronny@ronnychan.ca>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["compilers", "rendering", "external-ffi-bindings"]
description = "Safe Rust bindings to SPIRV-Cross"
edition = "2021"
keywords = ["spir-v", "glsl", "msl", "shaders", "spirv-cross"]
license = "MIT OR Apache-2.0"
name = "spirv-cross2"
readme = "README.md"
repository = "https://github.com/SnowflakePowered/spirv-cross2"
rust-version = "1.65.0"
version = "0.4.6"
[package.metadata.docs.rs]
features = ["full"]
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "sandbox"
path = "tests/sandbox.rs"