2018-09-13 01:28:55 +00:00
|
|
|
[package]
|
2020-02-25 19:00:51 +00:00
|
|
|
name = "naga"
|
2021-12-17 00:05:20 +00:00
|
|
|
version = "0.8.0"
|
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"
|
2021-12-17 00:05:20 +00:00
|
|
|
repository = "https://github.com/gfx-rs/naga/tree/v0.8"
|
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-06-03 16:06:42 +00:00
|
|
|
exclude = ["bin/**/*", "tests/**/*", "Cargo.lock", "target/**/*"]
|
2021-06-12 23:24:01 +00:00
|
|
|
resolver = "2"
|
2022-04-16 10:05:40 +00:00
|
|
|
rust-version = "1.56"
|
2018-09-13 01:28:55 +00:00
|
|
|
|
2021-04-01 13:34:07 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
|
2021-12-27 01:01:49 +00:00
|
|
|
[profile.release]
|
|
|
|
panic = "abort"
|
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
panic = "abort"
|
|
|
|
|
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-04-25 15:47:30 +00:00
|
|
|
glsl-in = ["pp-rs"]
|
2020-08-13 20:27:12 +00:00
|
|
|
glsl-validate = []
|
2021-09-29 16:24:34 +00:00
|
|
|
glsl-out = []
|
2020-09-14 14:27:05 +00:00
|
|
|
msl-out = []
|
2021-09-17 23:22:29 +00:00
|
|
|
serialize = ["serde", "indexmap/serde-1"]
|
|
|
|
deserialize = ["serde", "indexmap/serde-1"]
|
2021-09-10 15:51:05 +00:00
|
|
|
spv-in = ["petgraph", "spirv"]
|
2020-09-14 14:27:05 +00:00
|
|
|
spv-out = ["spirv"]
|
2022-04-18 19:51:38 +00:00
|
|
|
wgsl-in = ["codespan-reporting", "hexf-parse", "unicode-xid"]
|
2021-04-19 04:23:27 +00:00
|
|
|
wgsl-out = []
|
2021-04-11 15:36:26 +00:00
|
|
|
hlsl-out = []
|
2021-08-11 20:04:32 +00:00
|
|
|
span = ["codespan-reporting"]
|
2021-10-05 19:11:32 +00:00
|
|
|
validate = []
|
2018-09-13 01:28:55 +00:00
|
|
|
|
2022-02-16 00:23:30 +00:00
|
|
|
[[bench]]
|
|
|
|
name = "criterion"
|
|
|
|
harness = false
|
|
|
|
|
2022-01-13 23:57:57 +00:00
|
|
|
[dependencies]
|
2022-04-16 13:09:56 +00:00
|
|
|
arbitrary = { version = "1.0.2", features = ["derive"], optional = true }
|
2022-04-18 09:12:50 +00:00
|
|
|
bitflags = "1.0.5"
|
2022-01-13 23:57:57 +00:00
|
|
|
bit-set = "0.5"
|
2022-04-16 13:09:56 +00:00
|
|
|
termcolor = "1.0.4"
|
|
|
|
# remove termcolor dep when updating to the next version of codespan-reporting
|
|
|
|
# termcolor minimum version was wrong and was fixed in
|
|
|
|
# https://github.com/brendanzab/codespan/commit/e99c867339a877731437e7ee6a903a3d03b5439e
|
2022-01-13 23:57:57 +00:00
|
|
|
codespan-reporting = { version = "0.11.0", optional = true }
|
|
|
|
rustc-hash = "1.1.0"
|
|
|
|
indexmap = "1.6"
|
|
|
|
log = "0.4"
|
|
|
|
num-traits = "0.2"
|
|
|
|
spirv = { version = "0.2", optional = true }
|
|
|
|
thiserror = "1.0.21"
|
2022-04-16 13:09:56 +00:00
|
|
|
serde = { version = "1.0.103", features = ["derive"], optional = true }
|
2022-01-13 23:57:57 +00:00
|
|
|
petgraph = { version ="0.6", optional = true }
|
|
|
|
pp-rs = { version = "0.2.1", optional = true }
|
|
|
|
hexf-parse = { version = "0.2.1", optional = true }
|
2022-05-02 13:28:56 +00:00
|
|
|
unicode-xid = { version = "0.2.3", optional = true }
|
2022-01-13 23:57:57 +00:00
|
|
|
|
2018-09-13 01:28:55 +00:00
|
|
|
[dev-dependencies]
|
2022-02-16 01:01:12 +00:00
|
|
|
bincode = "1"
|
2022-02-16 03:07:45 +00:00
|
|
|
criterion = { version = "0.3", features = [] }
|
2021-04-14 18:20:48 +00:00
|
|
|
diff = "0.1"
|
2021-11-16 14:17:51 +00:00
|
|
|
ron = "0.7"
|
2020-08-17 03:49:48 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2021-08-18 04:11:14 +00:00
|
|
|
spirv = { version = "0.2", features = ["deserialize"] }
|
2021-11-16 14:17:51 +00:00
|
|
|
rspirv = "0.11"
|
|
|
|
env_logger = "0.9"
|
2021-06-12 23:24:01 +00:00
|
|
|
|
|
|
|
[workspace]
|
|
|
|
members = [".", "cli"]
|
2021-06-16 16:45:13 +00:00
|
|
|
|
|
|
|
# Include "cli", so that `cargo run` runs the CLI by default. Include ".", so
|
|
|
|
# that `cargo test` includes naga's own tests by default (but note, using the
|
|
|
|
# features that `cli/Cargo.toml` requests).
|
|
|
|
default-members = [".", "cli"]
|