# 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" name = "wgsl-parser" version = "0.5.0" authors = ["Danny McGee "] exclude = [ "snapshots", "test-files", "project.json", ] description = "A zero-copy recursive-descent parser for WebGPU shading language" documentation = "https://docs.rs/wgsl-parser" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/dannymcgee/vscode-wgsl" [[bench]] name = "lexer" harness = false [[bench]] name = "parsing" harness = false [[bench]] name = "traversal" harness = false [[bench]] name = "scopes" harness = false [dependencies.bitflags] version = "2.5" [dependencies.gramatika] version = "0.6.0" features = ["substr-source"] [dependencies.itertools] version = "0.12" [dependencies.lazy_static] version = "1.4" [dependencies.lsp-types] version = "0.95" optional = true [dependencies.parking_lot] version = "0.12" [dev-dependencies.criterion] version = "0.3" features = [ "cargo_bench_support", "html_reports", ] [dev-dependencies.parking_lot] version = "0.12" [dev-dependencies.similar] version = "2.1" [features] default = [] lsp = ["dep:lsp-types"] preprocessing = []