blob: 7fdcded70fab86499773681d4ed5e5ba149db440 [file] [edit]
[package]
name = "vello_gpu_shaders"
# When updating, also update the version in the workspace dependency in the root Cargo.toml
version = "0.3.0"
description = "Provide WESL shaders linked to WGSL and GLSL for the `vello_gpu` backends."
categories = ["rendering", "graphics"]
keywords = ["2d", "vector-graphics"]
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
[package.metadata.docs.rs]
all-features = true
# There are no platform specific docs.
default-target = "x86_64-unknown-linux-gnu"
targets = []
[dependencies]
naga = { workspace = true, features = ["wgsl-in", "wgsl-out", "glsl-out"], optional = true }
[build-dependencies]
naga = { workspace = true, features = ["wgsl-in", "wgsl-out", "glsl-out"] }
# Pinned exactly: the 0.4.1 releases of wesl and its wgsl-* crates require rustc 1.96,
# newer than our toolchain. The wgsl-*/wesl-macros pins force wesl's own `^0.4`
# transitive requirements to resolve to 0.4.0 as well.
wesl = "=0.4.0"
wesl-macros = "=0.4.0"
wgsl-parse = "=0.4.0"
wgsl-types = "=0.4.0"
[dev-dependencies]
naga = { workspace = true, features = ["wgsl-in", "wgsl-out", "glsl-out"] }
wesl = "=0.4.0"
[features]
glsl = ["dep:naga"]
unminified = []
[[bin]]
name = "vello_gpu_shaders"
path = "src/main.rs"
test = false
[lints]
workspace = true