# 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 = "2018" name = "jit-spirv" version = "0.1.1" authors = ["PENGUINLIONG "] description = "Compile GLSL/HLSL/WGSL to SPIR-V just-in-time with a simple macro." homepage = "https://github.com/PENGUINLIONG/inline-spirv-rs" documentation = "https://docs.rs/inline-spirv-rs" readme = "README.md" categories = ["graphics"] license = "MIT OR Apache-2.0" repository = "https://github.com/PENGUINLIONG/inline-spirv-rs" [dependencies.jit-spirv-impl] version = "0.1.0" [dependencies.naga] version = ">=0.5" features = [ "wgsl-in", "spv-out", ] optional = true [dependencies.shaderc] version = ">=0.7.2, <=0.8" optional = true [dev-dependencies.spirq] version = "0.6" [features] build-from-source = [ "shaderc", "shaderc/build-from-source", ] default = [ "glsl", "hlsl", "wgsl", ] glsl = ["shaderc"] hlsl = ["shaderc"] naga = [ "dep:naga", "jit-spirv-impl/naga", ] shaderc = [ "dep:shaderc", "jit-spirv-impl/shaderc", ] wgsl = ["naga"]