Cargo Features

Coffee has no features set by default.

[dependencies]
coffee = { version = "0.4.1", features = ["opengl", "dx12", "debug"] }
opengl = gfx, gfx_core, gfx_device_gl, gfx_glyph, glutin
vulkan metal dx11 dx12 = futures, wgpu, wgpu_glyph, zerocopy
debug

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

gfx opengl?

Enables gfx

gfx (OpenGL)

gfx_core opengl?
gfx_device_gl opengl?
gfx_glyph opengl?

Enables gfx_glyph ^0.15

glutin opengl?

Enables glutin ^0.24

wgpu dx11? dx12? metal? vulkan?

Enables wgpu ^0.5

wgpu (Vulkan, Metal, D3D)

wgpu_glyph dx11? dx12? metal? vulkan?

Enables wgpu_glyph ^0.8

zerocopy dx11? dx12? metal? vulkan?

Enables zerocopy ^0.3

futures dx11? dx12? metal? vulkan?