Cargo Features

GLSLT has no features set by default.

[dependencies]
glslt = { version = "0.7.2", features = ["python", "cli", "parse"] }
python = cli, pyo3

Affects common::parse_string, api::python

cli python? = clap, env_logger, parse

Affects api::cli

parse cli?

Enables lexer-v2-full of glsl-lang, full of glsl-lang-pp

Affects glslt::parse

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.

glsl-lang-pp parse?
env_logger cli?

Enables env_logger ^0.10

clap cli?
pyo3 python?

Enables pyo3 ^0.20