# 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 = "wasm2spirv" version = "0.1.0" description = "Compile your WebAssembly programs into SPIR-V shaders" readme = "README.md" keywords = [ "wasm", "spirv", "vulkan", "webassembly", "compiler", ] categories = [ "compilers", "development-tools", "game-development", "graphics", "wasm", ] license = "MIT" repository = "https://github.com/Aandreba/wasm2spirv" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] path = "src/lib.rs" [[bin]] name = "wasm2spirv" path = "src/cli.rs" required-features = [ "clap", "color-eyre", "serde_json", "spirv-tools", "spirv_cross", ] [dependencies.bitflags] version = "2.3.3" [dependencies.clap] version = "4.3.16" features = [ "derive", "env", ] optional = true [dependencies.color-eyre] version = "0.6.2" optional = true [dependencies.docfg] version = "0.1.0" [dependencies.itertools] version = "0.11.0" [dependencies.num-traits] version = "0.2.15" [dependencies.num_enum] version = "0.6.1" [dependencies.once_cell] version = "1.18.0" [dependencies.rspirv] version = "0.11.0" [dependencies.serde] version = "1.0.171" features = ["derive"] [dependencies.serde_json] version = "1.0.103" optional = true [dependencies.spirv] version = "0.2.0" features = [ "serde", "serialize", "deserialize", ] [dependencies.spirv-tools] version = "0.9.0" optional = true [dependencies.spirv_cross] version = "0.23.1" features = [ "glsl", "hlsl", "msl", ] optional = true [dependencies.thiserror] version = "1.0.43" [dependencies.tracing] version = "0.1.37" [dependencies.tracing-subscriber] version = "0.3.17" [dependencies.vector_mapp] version = "0.3.2" features = ["serde"] [dependencies.wasmparser] version = "0.108.0" [dependencies.wat] version = "1.0.67" [dev-dependencies.color-eyre] version = "0.6.2" [dev-dependencies.serde_json] version = "1.0.103"