Cargo Features

[dependencies]
objc2-metal-fx = { version = "0.2.0", default-features = false, features = ["std", "alloc", "unstable-docsrs", "all", "MTLFXDefines", "MTLFXTemporalScaler"] }
default = std

The std feature is set by default whenever objc2-metal-fx is added without default-features = false somewhere in the dependency tree.

std default = alloc

Currently not possible to turn off, put here for forwards compatibility.

Enables std of objc2

alloc std

Enables alloc of objc2

unstable-docsrs

For better documentation on docs.rs

all = MTLFXDefines, MTLFXSpatialScaler, MTLFXTemporalScaler
MTLFXDefines all?
MTLFXSpatialScaler MTLFXTemporalScaler all?

Enables NSObject of objc2-foundation, MTLCommandBuffer, MTLDevice, MTLFence, MTLPixelFormat, MTLResource and MTLTexture of objc2-metal