Cargo Features

[dependencies]
spirv-cross2 = { version = "0.4.6", default-features = false, features = ["full", "f16", "gfx-math-types", "glam-types", "glsl", "hlsl", "msl", "json", "cpp"] }
default = glsl, hlsl, msl

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

full = cpp, f16, gfx-math-types, glam-types, glsl, hlsl, json, msl
f16 full?

Enables half

gfx-math-types full?

Enables gfx-maths

glam-types full?

Enables glam

glsl default full?

Enables glsl of spirv-cross-sys

Affects compile::glsl, targets::Glsl

hlsl default full?

Enables hlsl of spirv-cross-sys

Affects compile::hlsl, targets::Hlsl

msl default full?

Enables msl of spirv-cross-sys

Affects compile::msl, targets::Msl

json full?

Enables json of spirv-cross-sys

Affects targets::Json

cpp full?

Enables cpp of spirv-cross-sys

Affects targets::Cpp