Cargo Features

gfx-backend-metal has no features set by default.

[dependencies]
gfx-backend-metal = { version = "0.9.1", features = ["signpost", "cross", "pipeline-cache", "dispatch"] }
default

TODO: add a feature to enable profiling, so that we can CI test it

signpost
cross = auxil, spirv_cross

Enables spv-out of naga ^0.5

Affects conversions::map_naga_stage_to_cross, conversions::map_sampler_data_to_cross

pipeline-cache = bincode, serde, tempfile

Enables deserialize, serialize and spv-out of naga ^0.5

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.

dispatch implicit feature

Enables dispatch

dispatch:

Rust wrapper for Apple's Grand Central Dispatch

tempfile pipeline-cache?
serde pipeline-cache?
bincode pipeline-cache?
auxil cross?

Enables gfx-auxil

spirv_cross cross?