wgpu/Cargo.toml

55 lines
1.5 KiB
TOML
Raw Normal View History

[package]
2020-02-25 19:00:51 +00:00
name = "naga"
2021-01-31 03:54:20 +00:00
version = "0.3.1"
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"
2021-04-01 13:34:07 +00:00
keywords = ["shader", "SPIR-V", "GLSL", "MSL"]
2020-06-18 20:51:51 +00:00
license = "MIT OR Apache-2.0"
2021-04-01 13:34:07 +00:00
[package.metadata.docs.rs]
all-features = true
[dependencies]
2020-02-26 22:10:42 +00:00
bitflags = "1"
bit-set = "0.5"
codespan-reporting = { version = "0.11.0", optional = true }
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 }
pp-rs = { git = "https://github.com/Kangz/glslpp-rs", rev = "4f2f72a", optional = true }
#env_logger = "0.8" # uncomment temporarily for developing with `convert`
[features]
default = []
2021-03-02 06:28:32 +00:00
dot-out = []
glsl-in = ["pomelo", "pp-rs"]
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 = ["codespan-reporting"]
hlsl-out = []
[[bin]]
name = "convert"
path = "bin/convert.rs"
2021-01-27 15:51:12 +00:00
[dev-dependencies]
difference = "2.0"
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"] }
insta = { version = "1.6", features = ["glob"] }
2020-12-08 05:23:29 +00:00
rspirv = "0.7"