Cargo Features

[dependencies]
glfw-sys-passthrough = { version = "6.0.9", default-features = false, features = ["all", "bindgen", "src-build", "prebuilt-libs", "static-link", "native-handles", "native-egl", "osmesa"] }
default = all

The all feature is set by default whenever glfw-sys-passthrough is added without default-features = false somewhere in the dependency tree.

all default = native-egl, native-gl, native-handles, vulkan, wayland, x11
bindgen build

Enables bindgen

src-build build

build from source, instead of using prebuilt libraries.

Enables cmake

prebuilt-libs

static link (if on linux, src-build must also be enabled)

vulkan wayland x11 native-handles all
native-gl native-egl all
osmesa