Cargo Features

[dependencies]
librashader-cli = { version = "0.5.1", 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.14.1 and runtime-gl of librashader

librashader:

runtimes

Affects render::gl

wgpu full

Enables wgpu ^22 and wgpu-types ^22, 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