Cargo Features

[dependencies]
librashader-cli = { version = "0.6.2", default-features = false, features = ["full", "vulkan", "opengl", "wgpu", "d3d11", "d3d12", "d3d9", "metal", "vulkan-debug"] }
default = full

The full feature is set by default whenever librashader-cli is added without default-features = false somewhere in the dependency tree.

full default = d3d11, d3d12, d3d9, metal, opengl, vulkan, wgpu
vulkan full vulkan-debug?

Enables ash, runtime-vk of librashader

Affects render::vk

opengl full

Enables glfw and glow ^0.15.0 and runtime-gl of librashader

librashader:

runtimes

Affects render::gl

wgpu full

Enables wgpu and wgpu-types, runtime-wgpu of librashader

Affects render::wgpu

d3d11 full

Enables windows, runtime-d3d11 of librashader

Affects render::d3d11

d3d12 full

Enables d3d12-descriptor-heap, windows, runtime-d3d12 of librashader

Affects render::d3d12

d3d9 full

Enables windows, runtime-d3d9 of librashader

Affects render::d3d9

metal full

Enables objc2 and objc2-metal, runtime-metal of librashader

Affects render::mtl

vulkan-debug = vulkan