179 lines
3.0 KiB
TOML
179 lines
3.0 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
rust-version = "1.76"
|
|
name = "naga"
|
|
version = "24.0.0"
|
|
authors = ["gfx-rs developers"]
|
|
build = "build.rs"
|
|
exclude = [
|
|
"bin/**/*",
|
|
"tests/**/*",
|
|
"Cargo.lock",
|
|
"target/**/*",
|
|
]
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Shader translator and validator. Part of the wgpu project"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"shader",
|
|
"SPIR-V",
|
|
"GLSL",
|
|
"MSL",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/gfx-rs/wgpu/tree/trunk/naga"
|
|
resolver = "2"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[lib]
|
|
name = "naga"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies.arbitrary]
|
|
version = "1.4"
|
|
features = ["derive"]
|
|
optional = true
|
|
|
|
[dependencies.arrayvec]
|
|
version = "0.7"
|
|
|
|
[dependencies.bit-set]
|
|
version = "0.8"
|
|
|
|
[dependencies.bitflags]
|
|
version = "2.7"
|
|
|
|
[dependencies.codespan-reporting]
|
|
version = "0.11.0"
|
|
|
|
[dependencies.hexf-parse]
|
|
version = "0.2.1"
|
|
optional = true
|
|
|
|
[dependencies.indexmap]
|
|
version = "2"
|
|
|
|
[dependencies.log]
|
|
version = "0.4"
|
|
|
|
[dependencies.petgraph]
|
|
version = "0.7"
|
|
optional = true
|
|
|
|
[dependencies.pp-rs]
|
|
version = "0.2.1"
|
|
optional = true
|
|
|
|
[dependencies.rustc-hash]
|
|
version = "1"
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.217"
|
|
features = [
|
|
"default",
|
|
"derive",
|
|
]
|
|
optional = true
|
|
|
|
[dependencies.spirv]
|
|
version = "0.3"
|
|
optional = true
|
|
|
|
[dependencies.strum]
|
|
version = "0.26.0"
|
|
features = ["derive"]
|
|
|
|
[dependencies.termcolor]
|
|
version = "1.4.1"
|
|
|
|
[dependencies.thiserror]
|
|
version = "2"
|
|
|
|
[dependencies.unicode-xid]
|
|
version = "0.2.6"
|
|
optional = true
|
|
|
|
[dev-dependencies.diff]
|
|
version = "0.1"
|
|
|
|
[dev-dependencies.env_logger]
|
|
version = "0.11"
|
|
|
|
[dev-dependencies.itertools]
|
|
version = "0.13.0"
|
|
|
|
[dev-dependencies.ron]
|
|
version = "0.8.0"
|
|
|
|
[dev-dependencies.rspirv]
|
|
version = "0.11"
|
|
|
|
[dev-dependencies.serde]
|
|
version = "1"
|
|
features = [
|
|
"default",
|
|
"derive",
|
|
]
|
|
default-features = false
|
|
|
|
[dev-dependencies.spirv]
|
|
version = "0.3"
|
|
features = ["deserialize"]
|
|
|
|
[build-dependencies.cfg_aliases]
|
|
version = "0.2.1"
|
|
|
|
[features]
|
|
arbitrary = [
|
|
"dep:arbitrary",
|
|
"bitflags/arbitrary",
|
|
"indexmap/arbitrary",
|
|
]
|
|
compact = []
|
|
default = []
|
|
deserialize = [
|
|
"dep:serde",
|
|
"bitflags/serde",
|
|
"indexmap/serde",
|
|
]
|
|
dot-out = []
|
|
glsl-in = ["dep:pp-rs"]
|
|
glsl-out = []
|
|
hlsl-out = []
|
|
hlsl-out-if-target-windows = []
|
|
msl-out = []
|
|
msl-out-if-target-apple = []
|
|
serialize = [
|
|
"dep:serde",
|
|
"bitflags/serde",
|
|
"indexmap/serde",
|
|
]
|
|
spv-in = [
|
|
"dep:petgraph",
|
|
"dep:spirv",
|
|
]
|
|
spv-out = ["dep:spirv"]
|
|
wgsl-in = [
|
|
"dep:hexf-parse",
|
|
"dep:unicode-xid",
|
|
"compact",
|
|
]
|
|
wgsl-out = []
|