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 wheneverglfw-sys-passthrough
is added without
somewhere in the dependency tree.default-features = false - 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
-
static link (if on linux, src-build must also be enabled)
- vulkan wayland x11 native-handles all
- native-gl native-egl all
- osmesa