Cargo Features

[dependencies]
glutin = { version = "0.32.1", default-features = false, features = ["egl", "glx", "wgl", "x11", "wayland"] }
default = egl, glx, wayland, wgl, x11

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

egl default wayland = glutin_egl_sys, libloading
glx default = glutin_glx_sys, libloading, x11
wgl default = glutin_wgl_sys, windows-sys
x11 default glx = x11-dl
wayland default = egl, wayland-sys

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.

libloading egl glx
glutin_egl_sys win android linux freebsd dragonfly netbsd openbsd egl
glutin_glx_sys linux freebsd dragonfly netbsd openbsd glx
glutin_wgl_sys win wgl
wayland-sys linux freebsd dragonfly netbsd openbsd wayland
windows-sys win wgl

Enables windows-sys ^0.52

x11-dl linux freebsd dragonfly netbsd openbsd x11