Cargo Features
[dependencies]
glwindow = { version = "0.1.0", default-features = false, features = ["egl", "glx", "wgl", "x11", "wayland"] }
- default = egl, glx, wayland, wgl, x11
-
These default features are set whenever
glwindow
is added without
somewhere in the dependency tree.default-features = false - egl default = png
-
Enables egl of glutin-winit
- glx default
-
Enables glx of glutin-winit
- wgl default
-
Enables wgl of glutin-winit
- x11 default
-
Enables x11 of glutin-winit
- wayland default
-
Enables wayland of glutin-winit, wayland-csd-adwaita and wayland-dlopen of winit
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.