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
somewhere in the dependency tree.default-features = false - test_shader default
-
enable tests that need a graphical card
- glsl default
- override_any
- prune
-
Affects
naga_oil::prune
… - allow_deprecated