Cargo Features
[dependencies]
glfw-sys = { version = "7.0.0", default-features = false, features = ["all", "bindgen", "src-build", "prebuilt-libs", "static-link", "native-handles", "native-egl", "osmesa"] }
- default = all
-
The
allfeature is set by default wheneverglfw-sysis added withoutsomewhere in the dependency tree.default-features = false - all default = native-egl, native-gl, native-handles, vulkan, wayland, x11
- bindgen build
-
Enables bindgen ^0.71
- src-build
-
build from source, instead of using prebuilt libraries.
- 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