2018-09-13 01:28:55 +00:00
|
|
|
[package]
|
2020-02-25 19:00:51 +00:00
|
|
|
name = "naga"
|
2021-01-31 03:54:20 +00:00
|
|
|
version = "0.3.1"
|
2021-01-30 00:41:19 +00:00
|
|
|
authors = ["Naga Developers"]
|
2020-02-18 20:34:16 +00:00
|
|
|
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"
|
2018-09-13 01:28:55 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2020-02-26 22:10:42 +00:00
|
|
|
bitflags = "1"
|
2021-01-08 15:05:14 +00:00
|
|
|
bit-set = "0.5"
|
2021-02-28 04:22:34 +00:00
|
|
|
codespan-reporting = { version = "0.11.0", optional = true }
|
2020-02-19 04:20:03 +00:00
|
|
|
fxhash = "0.2"
|
2020-02-18 20:34:16 +00:00
|
|
|
log = "0.4"
|
2020-03-15 00:30:09 +00:00
|
|
|
num-traits = "0.2"
|
2020-12-08 05:16:47 +00:00
|
|
|
spirv = { package = "spirv_headers", version = "1.5", optional = true }
|
2020-06-30 14:42:50 +00:00
|
|
|
pomelo = { version = "0.1.4", optional = true }
|
2020-10-20 18:44:56 +00:00
|
|
|
thiserror = "1.0.21"
|
2020-08-13 16:27:10 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"], optional = true }
|
2020-08-24 03:14:51 +00:00
|
|
|
petgraph = { version ="0.5", optional = true }
|
2021-02-24 17:07:09 +00:00
|
|
|
pp-rs = { git = "https://github.com/Kangz/glslpp-rs", rev = "4f2f72a", optional = true }
|
2021-03-05 05:58:16 +00:00
|
|
|
#env_logger = "0.8" # uncomment temporarily for developing with `convert`
|
2020-06-09 17:43:16 +00:00
|
|
|
|
|
|
|
[features]
|
2020-07-05 05:35:28 +00:00
|
|
|
default = []
|
2021-03-02 06:28:32 +00:00
|
|
|
dot-out = []
|
2021-02-24 17:07:09 +00:00
|
|
|
glsl-in = ["pomelo", "pp-rs"]
|
2020-08-13 20:27:12 +00:00
|
|
|
glsl-validate = []
|
2020-11-21 18:45:05 +00:00
|
|
|
glsl-out = ["petgraph"]
|
2020-09-14 14:27:05 +00:00
|
|
|
msl-out = []
|
2020-08-13 16:27:10 +00:00
|
|
|
serialize = ["serde"]
|
|
|
|
deserialize = ["serde"]
|
2020-09-14 14:27:05 +00:00
|
|
|
spv-in = ["petgraph", "spirv"]
|
|
|
|
spv-out = ["spirv"]
|
2021-02-28 04:22:34 +00:00
|
|
|
wgsl-in = ["codespan-reporting"]
|
2018-09-13 01:28:55 +00:00
|
|
|
|
2021-02-24 15:49:27 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "convert"
|
|
|
|
path = "bin/convert.rs"
|
2021-01-27 15:51:12 +00:00
|
|
|
|
2018-09-13 01:28:55 +00:00
|
|
|
[dev-dependencies]
|
2020-08-24 04:09:37 +00:00
|
|
|
difference = "2.0"
|
2020-09-11 16:19:55 +00:00
|
|
|
ron = "0.6"
|
2020-08-17 03:49:48 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2020-12-08 05:16:47 +00:00
|
|
|
spirv = { package = "spirv_headers", version = "1.5", features = ["deserialize"] }
|
2021-02-24 15:49:27 +00:00
|
|
|
insta = { version = "1.6", features = ["glob"] }
|
2020-12-08 05:23:29 +00:00
|
|
|
rspirv = "0.7"
|