# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.65.0" name = "spirv-cross2" version = "0.4.6" authors = ["Ronny Chan "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Safe Rust bindings to SPIRV-Cross" readme = "README.md" keywords = [ "spir-v", "glsl", "msl", "shaders", "spirv-cross", ] categories = [ "compilers", "rendering", "external-ffi-bindings", ] license = "MIT OR Apache-2.0" repository = "https://github.com/SnowflakePowered/spirv-cross2" [package.metadata.docs.rs] features = ["full"] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "spirv_cross2" path = "src/lib.rs" [[test]] name = "sandbox" path = "tests/sandbox.rs" [dependencies.bitflags] version = "2.6.0" [dependencies.bytemuck] version = "1.17.1" features = ["must_cast"] [dependencies.gfx-maths] version = "0.2.9" optional = true [dependencies.glam] version = "0.29.0" optional = true [dependencies.half] version = "2.4.1" optional = true [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"]