Cargo Features

[dependencies]
glfw-sys-passthrough = { version = "6.0.0", default-features = false, features = ["all", "bindgen", "src_build", "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

static link (if on linux, src_build must also be enabled)

vulkan wayland x11 native_handles all
native_gl native_egl all
osmesa