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 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
- 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