-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
29 lines (25 loc) · 1.03 KB
/
Cargo.toml
File metadata and controls
29 lines (25 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[package]
name = "wgsl-wasm-transpiler"
version = "0.1.0"
edition = "2024"
description = "WGSL shader compiler and analysis tool"
repository = "https://github.com/reczkok/wgsl-wasm-transpiler"
license = "MIT"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
naga = { version = "25.0.1", features = ["arbitrary", "compact", "deserialize", "dot-out", "glsl-in", "glsl-out", "hlsl-out", "hlsl-out-if-target-windows", "msl-out", "msl-out-if-target-apple", "serialize", "spv-in", "spv-out", "wgsl-in", "wgsl-out"] }
clap = { version = "4.0", features = ["derive"], optional = true }
wasm-bindgen = { version = "0.2", optional = true }
console_error_panic_hook = { version = "0.1", optional = true }
js-sys = { version = "0.3", optional = true }
web-sys = { version = "0.3", optional = true }
base64 = { version = "0.21", optional = true }
rspirv = "0.12"
[features]
default = ["cli"]
cli = ["clap"]
wasm = ["wasm-bindgen", "console_error_panic_hook", "js-sys", "web-sys", "base64"]
[[bin]]
name = "wgsl-wasm-transpiler"
required-features = ["cli"]