Cargo Features

[dependencies]
sierra = { version = "0.6.0", default-features = false, features = ["serde-1", "vulkan", "proc-verbose-docs", "glsl", "wgsl", "tracing"] }
default = vulkan

The vulkan feature is set by default whenever sierra is added without default-features = false somewhere in the dependency tree.

serde-1 = serde, serde_bytes

Enables serde of smallvec

vulkan default = core-graphics-types, erupt, gpu-alloc, gpu-alloc-erupt, gpu-descriptor, gpu-descriptor-erupt, moltenvk-sys, mtl, objc
proc-verbose-docs

Enables verbose-docs of sierra-proc

sierra-proc:

do not hide generated types in docs

glsl = codespan-reporting

Enables glsl-in of naga ^0.10

Affects shader::Glsl

wgsl = codespan-reporting

Enables wgsl-in of naga ^0.10

Affects shader::Wgsl

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.

serde serde-1?
serde_bytes serde-1?
erupt vulkan
gpu-alloc vulkan

Enables gpu-alloc ^0.5

gpu-descriptor vulkan

Enables gpu-descriptor ^0.2

gpu-alloc-erupt vulkan

Enables gpu-alloc-erupt ^0.8

gpu-descriptor-erupt vulkan

Enables gpu-descriptor-erupt ^0.4

naga glsl? wgsl?

Enables naga ^0.10

codespan-reporting glsl? wgsl?
tracing implicit feature

Enables tracing

tracing:

Application-level tracing for Rust

core-graphics-types mac ios vulkan

Enables core-graphics-types ^0.1

moltenvk-sys mac ios vulkan
mtl mac ios vulkan

Enables metal ^0.24

objc mac ios vulkan