Cargo Features

[dependencies]
inline-spirv = { version = "0.2.1", default-features = false, features = ["build-from-source", "wgsl", "glsl"] }
default = glsl, hlsl

These default features are set whenever inline-spirv is added without default-features = false somewhere in the dependency tree.

build-from-source = shaderc

Enables build-from-source of shaderc

wgsl = naga
hlsl glsl default = shaderc

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.

shaderc build-from-source? glsl hlsl
naga wgsl?

Enables naga ^0.19.0