Cargo Features
glsl-lang-lexer has no features set by default.
[dependencies]
glsl-lang-lexer = { version = "0.6.1", features = ["v1", "v2-min", "v2-full", "lalrpop", "serde"] }
- v1 = lalrpop, logos
-
Affects
glsl-lang-lexer::v1
… - v2-min = glsl-lang-pp, lalrpop
-
Affects
glsl-lang-lexer::v2_min
… - v2-full = lalrpop
-
Enables full of glsl-lang-pp
v2 lexer dependencies
Affects
glsl-lang-lexer::v2_full
… - lalrpop v1? v2-full? v2-min? = lalrpop-util
-
Affects
glsl-lang-lexer::LangLexerIterator.resolve_err
… - serde = rserde
-
AST Serialization
Enables serde of glsl-lang-types and lang-util
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- rserde serde?
-
Enables serde
- logos v1?
-
Enables logos ^0.12
v1 lexer dependencies
- glsl-lang-pp v2-full? v2-min?
- lalrpop-util lalrpop?
-
Enables lalrpop-util ^0.20.0