Cargo Features

vk-shader-macros has no features set by default.

[dependencies]
vk-shader-macros = { version = "0.2.10", features = ["strip", "default-optimize-zero", "build-from-source"] }
strip

Omit debug info from generated SPIR-V by default

default-optimize-zero

Set default optimization level to zero for debugging

build-from-source

Force shaderc to be built from source

Enables build-from-source of shaderc