Cargo Features

[dependencies]
naga_oil = { version = "0.16.0", default-features = false, features = ["test_shader", "glsl", "override_any", "prune", "allow_deprecated"] }
default = glsl, test_shader

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

test_shader default

enable tests that need a graphical card

glsl default

Enables glsl-in and glsl-out of naga

override_any
prune

Affects naga_oil::prune

allow_deprecated