Cargo Features

CrabGrab has no features set by default.

[dependencies]
crabgrab = { version = "0.3.4", features = ["iosurface", "metal", "dxgi", "dx11", "bitmap", "screenshot", "wgpu"] }
iosurface

Affects feature::iosurface

metal wgpu?

Enables metal

Affects feature::metal, capture_stream::MacosCaptureConfigExt.with_metal_device

dxgi dx11? wgpu?

Affects feature::dxgi

dx11 bitmap? wgpu? = dxgi

Affects feature::dx11

bitmap screenshot? = dx11

Enables bytemuck and half

Affects feature::bitmap

screenshot = bitmap

Affects feature::screenshot

wgpu = dx11, dxgi, metal

Enables wgpu and winapi

Affects feature::wgpu