# 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 = "glsl-lang" version = "0.7.2" authors = ["Alixinne "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "GLSL 4.6 language LALR parser and AST" homepage = "https://github.com/alixinne/glsl-lang" documentation = "https://docs.rs/glsl-lang/" readme = "README.md" keywords = [ "glsl", "language", "parser", "ast", ] categories = [ "parser-implementations", "rendering", ] license = "BSD-3-Clause" repository = "https://github.com/alixinne/glsl-lang" [lib] name = "glsl_lang" path = "src/lib.rs" [[test]] name = "pos_error" path = "tests/pos_error.rs" required-features = ["lexer-v2-full"] [[test]] name = "range_order" path = "tests/range_order.rs" [[bench]] name = "glsl" path = "benches/glsl.rs" harness = false [dependencies.glsl-lang-lexer] version = "=0.7.2" features = ["lalrpop"] [dependencies.glsl-lang-pp] version = "=0.7.2" optional = true [dependencies.glsl-lang-types] version = "=0.7.2" [dependencies.lalrpop-util] version = "0.20.0" features = ["std"] default-features = false [dependencies.lang-util] version = "=0.7.2" features = ["lalrpop"] [dependencies.once_cell] version = "1.17.1" [dependencies.rserde] version = "1.0" features = ["derive"] optional = true package = "serde" [dependencies.thiserror] version = "2.0" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.expect-test] version = "1.3" [dev-dependencies.glsl] version = "7" [dev-dependencies.glsl-lang-pp] version = "=0.7.2" [dev-dependencies.lang-util-dev] version = "=0.7.2" [build-dependencies.lalrpop] version = "0.20.0" [features] default = [] lexer-v1 = ["glsl-lang-lexer/v1"] lexer-v2-full = ["glsl-lang-lexer/v2-full"] lexer-v2-min = ["glsl-lang-lexer/v2-min"] parser-expr = [] parser-statement = [] serde = [ "rserde", "lang-util/serde", "glsl-lang-lexer/serde", "glsl-lang-types/serde", ]