vello/crates/shaders/Cargo.toml
Bruce Mitchener 75b27d65f5 vello_shaders: Use naga 0.12, not git rev.
The git revision being used was from `0.11` while the current
release is `0.12`. `0.12` is used in `wgpu`, so this lets us
have a single `naga` crate being built.
2023-07-05 10:18:50 +07:00

20 lines
448 B
TOML

[package]
name = "vello_shaders"
version = "0.1.0"
edition = "2021"
[features]
default = ["compile", "wgsl", "msl"]
compile = ["naga", "thiserror"]
wgsl = []
msl = []
[dependencies]
naga = { version = "0.12", features = ["wgsl-in", "msl-out", "validate"], optional = true }
thiserror = { version = "1.0.40", optional = true }
[build-dependencies]
naga = { version = "0.12", features = ["wgsl-in", "msl-out", "validate"] }
thiserror = "1.0.40"