wgsl-parse 0.3.2

Parse a wgsl source file to a syntax tree
Documentation
[build-dependencies.lalrpop]
default-features = false
version = "0.22.1"

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

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

[dependencies.itertools]
version = "0.14.0"

[dependencies.lalrpop-util]
version = "0.22.1"

[dependencies.lexical]
features = ["format", "power-of-two"]
version = "7.0.4"

[dependencies.logos]
version = "0.16.0"

[dependencies.serde]
features = ["derive", "rc"]
optional = true
version = "1.0.215"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tokrepr]
optional = true
version = "0.1.0"

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

[features]
attributes = []
condcomp = ["attributes"]
default = []
generics = ["attributes"]
imports = []
naga-ext = ["wgsl-types/naga-ext"]
serde = ["dep:serde", "wgsl-types/serde"]
templates = []
tokrepr = ["dep:tokrepr", "wgsl-types/tokrepr"]
wesl = ["condcomp", "imports"]

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

[lints.clippy]
mutable_key_type = "allow"

[lints.rust]

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
description = "Parse a wgsl source file to a syntax tree"
edition = "2024"
license = "MIT OR Apache-2.0"
name = "wgsl-parse"
readme = "README.md"
repository = "https://github.com/wgsl-tooling-wg/wesl-rs"
rust-version = "1.87.0"
version = "0.3.2"

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