naga 29.0.3

Shader translator and validator. Part of the wgpu project
Documentation
# 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.87"
name = "naga"
version = "29.0.3"
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"

[package.metadata.docs.rs]
all-features = true

[features]
arbitrary = [
    "dep:arbitrary",
    "bitflags/arbitrary",
    "indexmap/arbitrary",
    "half/arbitrary",
    "half/std",
]
default = []
deserialize = [
    "dep:serde",
    "bitflags/serde",
    "half/serde",
    "hashbrown/serde",
    "indexmap/serde",
]
dot-out = []
fs = []
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",
    "half/serde",
    "hashbrown/serde",
    "indexmap/serde",
]
spv-in = [
    "dep:petgraph",
    "petgraph/graphmap",
    "dep:spirv",
]
spv-out = ["dep:spirv"]
stderr = ["codespan-reporting/std"]
termcolor = ["codespan-reporting/termcolor"]
wgsl-in = [
    "dep:hexf-parse",
    "dep:unicode-ident",
]
wgsl-out = []

[lib]
name = "naga"
path = "src/lib.rs"

[dependencies.arbitrary]
version = "1.4.2"
features = ["derive"]
optional = true

[dependencies.arrayvec]
version = "0.7.1"
default-features = false

[dependencies.bit-set]
version = "0.9"
default-features = false

[dependencies.bitflags]
version = "2.9"

[dependencies.cfg-if]
version = "1"

[dependencies.codespan-reporting]
version = "0.13"
default-features = false

[dependencies.half]
version = "2.5"
features = ["num-traits"]
default-features = false

[dependencies.hashbrown]
version = "0.16"
features = [
    "default-hasher",
    "inline-more",
]
default-features = false

[dependencies.hexf-parse]
version = "0.2"
optional = true

[dependencies.indexmap]
version = "2.11.4"
default-features = false

[dependencies.libm]
version = "0.2.6"
default-features = false

[dependencies.log]
version = "0.4.29"

[dependencies.num-traits]
version = "0.2.16"
default-features = false

[dependencies.once_cell]
version = "1.21"
features = [
    "alloc",
    "race",
]
default-features = false

[dependencies.petgraph]
version = "0.8"
optional = true
default-features = false

[dependencies.pp-rs]
version = "0.2.1"
optional = true

[dependencies.rustc-hash]
version = "1.1"
default-features = false

[dependencies.serde]
version = "1.0.225"
features = [
    "alloc",
    "derive",
]
optional = true
default-features = false

[dependencies.spirv]
version = "0.4"
optional = true

[dependencies.thiserror]
version = "2.0.12"
default-features = false

[dependencies.unicode-ident]
version = "1.0.5"
optional = true

[dev-dependencies.diff]
version = "0.1"

[dev-dependencies.env_logger]
version = "0.11"
default-features = false

[dev-dependencies.hashbrown]
version = "0.16"
features = [
    "default-hasher",
    "inline-more",
    "serde",
]
default-features = false

[dev-dependencies.itertools]
version = "0.14"

[dev-dependencies.ron]
version = "0.12"

[dev-dependencies.rspirv]
version = "0.13"

[dev-dependencies.serde]
version = "1.0.225"
features = [
    "default",
    "derive",
]
default-features = false

[dev-dependencies.spirv]
version = "0.4"

[dev-dependencies.strum]
version = "0.27.1"
features = ["derive"]
default-features = false

[dev-dependencies.walkdir]
version = "2.3"

[build-dependencies.cfg_aliases]
version = "0.2.1"

[lints.clippy]
alloc_instead_of_core = "warn"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"