wgpu/naga/Cargo.toml

76 lines
2.6 KiB
TOML
Raw Normal View History

[package]
2020-02-25 19:00:51 +00:00
name = "naga"
2023-10-25 17:16:06 +00:00
version = "0.14.0"
authors = ["gfx-rs developers"]
edition = "2021"
2020-02-27 04:28:18 +00:00
description = "Shader translation infrastructure"
repository = "https://github.com/gfx-rs/wgpu/tree/trunk/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-06-03 16:06:42 +00:00
exclude = ["bin/**/*", "tests/**/*", "Cargo.lock", "target/**/*"]
resolver = "2"
2023-08-01 22:39:01 +00:00
rust-version = "1.65"
2021-04-01 13:34:07 +00:00
[package.metadata.docs.rs]
all-features = true
[features]
default = []
clone = []
2021-03-02 06:28:32 +00:00
dot-out = []
glsl-in = ["pp-rs"]
glsl-out = []
2020-09-14 14:27:05 +00:00
msl-out = []
2023-08-11 14:28:28 +00:00
serialize = ["serde", "bitflags/serde", "indexmap/serde"]
deserialize = ["serde", "bitflags/serde", "indexmap/serde"]
2023-06-01 13:40:47 +00:00
arbitrary = ["dep:arbitrary", "bitflags/arbitrary", "indexmap/arbitrary"]
spv-in = ["petgraph", "spirv"]
2020-09-14 14:27:05 +00:00
spv-out = ["spirv"]
wgsl-in = ["codespan-reporting", "hexf-parse", "termcolor", "unicode-xid"]
2021-04-19 04:23:27 +00:00
wgsl-out = []
hlsl-out = []
span = ["codespan-reporting", "termcolor"]
validate = []
compact = []
2022-02-16 00:23:30 +00:00
[[bench]]
name = "criterion"
harness = false
2022-01-13 23:57:57 +00:00
[dependencies]
arbitrary = { version = "1.3", features = ["derive"], optional = true }
bitflags = "2.2"
2022-01-13 23:57:57 +00:00
bit-set = "0.5"
termcolor = { version = "1.4.0", optional = true }
2022-04-16 13:09:56 +00:00
# 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"
2023-08-11 14:28:28 +00:00
indexmap = { version = "2", features = ["std"] }
2022-01-13 23:57:57 +00:00
log = "0.4"
num-traits = "0.2"
spirv = { version = "0.2", optional = true }
thiserror = "1.0.21"
serde = { version = "1.0.192", features = ["derive"], optional = true }
2023-10-25 17:16:06 +00:00
petgraph = { version = "0.6", optional = true }
2022-01-13 23:57:57 +00:00
pp-rs = { version = "0.2.1", optional = true }
hexf-parse = { version = "0.2.1", optional = true }
unicode-xid = { version = "0.2.3", optional = true }
2022-01-13 23:57:57 +00:00
2023-10-25 20:51:36 +00:00
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
criterion = { version = "0.5", features = [] }
[dev-dependencies]
2022-02-16 01:01:12 +00:00
bincode = "1"
2021-04-14 18:20:48 +00:00
diff = "0.1"
2023-07-20 00:44:33 +00:00
env_logger = "0.10"
hlsl-snapshots = { version = "0.1.0", path = "./hlsl-snapshots" }
# Require at least version 0.7.1 of ron, this version changed how floating points are
# serialized by forcing them to always have the decimal part, this makes it backwards
# incompatible with our tests because we do a syntatic diff and not a semantic one.
2023-07-20 00:44:33 +00:00
ron = "0.8.0"
2023-04-03 20:01:16 +00:00
rspirv = { version = "0.11", git = "https://github.com/gfx-rs/rspirv", rev = "b969f175d5663258b4891e44b76c1544da9661ab" }
2020-08-17 03:49:48 +00:00
serde = { version = "1.0", features = ["derive"] }
spirv = { version = "0.2", features = ["deserialize"] }