-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
38 lines (32 loc) · 1.13 KB
/
Cargo.toml
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
30
31
32
33
34
35
36
37
38
[workspace]
members = ["crates/wgsl-parse", "crates/wesl-macros", "crates/wesl", "crates/wesl-test", "examples/wesl-random", "examples/wesl-consumer"]
[workspace.package]
version = "0.0.2"
edition = "2021"
authors = ["Mathis Brossier <mathis.brossier@gmail.com>"]
repository = "https://github.com/wgsl-tooling-wg/wesl-rs"
license = "MIT"
[workspace.dependencies]
wgsl-parse = { path = "crates/wgsl-parse" }
wesl = { path = "crates/wesl" }
wesl-macros = { path = "crates/wesl-macros" }
[package]
name = "wesl-cli"
description = "Various tools to parse, verify, evaluate and modify wgsl shader source."
documentation = "https://docs.rs/wesl-cli"
version.workspace = true
edition.workspace = true
authors.workspace = true
repository.workspace = true
license.workspace = true
[dependencies]
clap = { version = "4.5.11", features = ["derive"] }
wgsl-parse = { workspace = true }
wesl = { workspace = true, features = ["eval", "generics", "package"] }
thiserror = "1.0.63"
naga = { version = "23.0.0", optional = true, features = ["wgsl-in"] }
[[bin]]
name = "wesl"
path = "src/main.rs"
[features]
default = ["naga"]