# 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" name = "transhader" version = "0.1.1" authors = ["Mikail Plotzky"] description = "Transpile shaders on the fly using procedural macros." documentation = "https://docs.rs/transhader" readme = "README.md" keywords = [ "naga", "shaders", "proc-macro", "hlsl", "glsl", ] categories = [ "compilers", "graphics", "rendering::data-formats", ] license = "MIT OR Apache-2.0" repository = "https://github.com/drafteddev/transhader" [lib] proc-macro = true [[example]] name = "transpile" path = "examples/transpile.rs" [[example]] name = "transpile_file" path = "examples/transpile_file.rs" [dependencies.naga] version = "0.19.2" [dependencies.ron] version = "0.8.1" [dependencies.serde] version = "1.0.197" features = ["derive"] [features] default = [ "from-glsl", "from-spv", "from-wgsl", "to-glsl", "to-hlsl", "to-msl", "to-spv", "to-wgsl", ] from-glsl = ["naga/glsl-in"] from-spv = ["naga/spv-in"] from-wgsl = ["naga/wgsl-in"] to-glsl = ["naga/glsl-out"] to-hlsl = ["naga/hlsl-out"] to-msl = ["naga/msl-out"] to-spv = ["naga/spv-out"] to-wgsl = ["naga/wgsl-out"]