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
somewhere in the dependency tree.default-features = false - 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.