wgpu/Cargo.toml

47 lines
1.2 KiB
TOML
Raw Normal View History

[package]
2020-02-25 19:00:51 +00:00
name = "naga"
version = "0.3.0"
authors = ["Naga Developers"]
edition = "2018"
2020-02-27 04:28:18 +00:00
description = "Shader translation infrastructure"
homepage = "https://github.com/gfx-rs/naga"
repository = "https://github.com/gfx-rs/naga"
keywords = ["shader", "SPIR-V"]
2020-06-18 20:51:51 +00:00
license = "MIT OR Apache-2.0"
[dependencies]
2020-02-26 22:10:42 +00:00
bitflags = "1"
bit-set = "0.5"
2020-02-19 04:20:03 +00:00
fxhash = "0.2"
log = "0.4"
2020-03-15 00:30:09 +00:00
num-traits = "0.2"
spirv = { package = "spirv_headers", version = "1.5", optional = true }
pomelo = { version = "0.1.4", optional = true }
2020-10-20 18:44:56 +00:00
thiserror = "1.0.21"
serde = { version = "1.0", features = ["derive"], optional = true }
petgraph = { version ="0.5", optional = true }
[features]
default = []
glsl-in = ["pomelo"]
glsl-validate = []
glsl-out = ["petgraph"]
2020-09-14 14:27:05 +00:00
msl-out = []
serialize = ["serde"]
deserialize = ["serde"]
2020-09-14 14:27:05 +00:00
spv-in = ["petgraph", "spirv"]
spv-out = ["spirv"]
wgsl-in = []
2021-01-27 15:51:12 +00:00
#Note: it would be nice to do `cargo run` for conversion.
# Blocked on https://github.com/rust-lang/cargo/issues/4663
[dev-dependencies]
difference = "2.0"
2021-01-27 15:51:12 +00:00
env_logger = "0.8"
ron = "0.6"
2020-08-17 03:49:48 +00:00
serde = { version = "1.0", features = ["derive"] }
spirv = { package = "spirv_headers", version = "1.5", features = ["deserialize"] }
2020-12-08 05:23:29 +00:00
insta = { version = "1.3", features = ["glob"] }
rspirv = "0.7"