wesl 0.4.2

The WESL compiler
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 = "2024"
rust-version = "1.96.0"
name = "wesl"
version = "0.4.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The WESL compiler"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/wgsl-tooling-wg/wesl-rs"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
eval = ["dep:wesl-quote"]
generics = ["wgsl-parse/generics"]
naga-ext = [
    "wgsl-parse/naga-ext",
    "wgsl-types/naga-ext",
]
package = [
    "dep:glob",
    "dep:proc-macro2",
    "dep:quote",
    "dep:serde",
    "dep:toml",
]
serde = ["wgsl-parse/serde"]

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

[dependencies.annotate-snippets]
version = "0.12.4"

[dependencies.anstream]
version = "1.0.0"

[dependencies.derive_more]
version = "2.0.1"
features = [
    "as_ref",
    "deref",
    "deref_mut",
    "display",
    "from",
    "unwrap",
]

[dependencies.glob]
version = "0.3"
optional = true

[dependencies.half]
version = "2.4.1"
features = ["num-traits"]

[dependencies.itertools]
version = "0.15.0"

[dependencies.num-traits]
version = "0.2.19"

[dependencies.proc-macro2]
version = "1.0.93"
optional = true

[dependencies.quote]
version = "1.0.38"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2.0.11"

[dependencies.toml]
version = "1.1"
optional = true

[dependencies.wesl-macros]
version = "0.4.2"
features = ["query"]

[dependencies.wesl-quote]
version = "0.4.2"
optional = true

[dependencies.wgsl-parse]
version = "0.4.2"
features = ["wesl"]

[dependencies.wgsl-types]
version = "0.4.2"

[lints.clippy]
mutable_key_type = "allow"

[lints.rust]