Cargo Features

[dependencies]
theo = { version = "0.1.0", default-features = false, features = ["gl", "x11", "wayland", "egl", "glx", "wgl", "wgpu"] }
default = egl, gl, glx, wayland, wgl, wgpu, x11

These default features are set whenever theo is added without default-features = false somewhere in the dependency tree.

gl default egl glx wgl = glow, glutin, piet-glow
x11 default

Enables x11 of optional glutin ^0.30.6 and softbuffer ^0.3.0

wayland default

Enables wayland of optional glutin ^0.30.6 and softbuffer ^0.3.0

egl default = gl

Enables glutin ^0.30.6

glx default = gl

Enables glx of glutin ^0.30.6

wgl default = gl

Enables wgl of glutin ^0.30.6

wgpu default = piet-wgpu, slab, wgpu0

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

glow gl

Enables glow ^0.12.1

piet-glow gl
piet-wgpu wgpu
slab wgpu
wgpu0 wgpu

Enables wgpu ^0.17.0

glutin not wasm32 egl gl glx wgl

Enables glutin ^0.30.6