# 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 = "inline-spirv" version = "0.2.1" authors = [ "PENGUINLIONG ", "Daniel Parnell ", ] description = "Compile GLSL/HLSL/WGSL and inline SPIR-V right inside your crate." 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" [lib] proc-macro = true [dependencies.naga] version = "0.19.0" features = [ "wgsl-in", "spv-out", ] optional = true [dependencies.quote] version = "1.0" [dependencies.shaderc] version = ">=0.7.2, <=0.8" optional = true [dependencies.spq-spvasm] version = "0.1" [dependencies.syn] version = "2.0" [dev-dependencies.spirq] version = "1.2" [features] build-from-source = [ "shaderc", "shaderc/build-from-source", ] default = [ "glsl", "hlsl", ] glsl = ["shaderc"] hlsl = ["shaderc"] wgsl = ["naga"]