Cargo Features
[dependencies]
raylib-sys = { version = "5.5.1", default-features = false, features = ["nobuild", "bindgen", "wayland", "opengl_33", "opengl_21", "opengl_es_20", "sdl", "noscreenshot", "nogif", "custom_frame_control", "imgui"] }
- nobuild
-
Build Raylib headless for docs/esoteric platforms. Up to you to link.
- bindgen default
-
Generate bindings automatically.
You can turn this off if you wanna go into the source and put in your own bindings.rs, which is useful since bindgen doesn't work on esoteric platforms. - wayland
-
Build for wayland on linux. Should fix #119
- default = bindgen
-
Bindgen is default
- opengl_33
-
OpenGL stuff, intended for fixing #122
- opengl_21
- opengl_es_20
-
opengl_11 = [] I couldn't get this one working, the others were fine in my limited testing (unsure about wayland compatibility)
- opengl_es_30 sdl
- noscreenshot
-
Allow disabling screenshots and gifs on f12
- nogif
- custom_frame_control
-
config.h's SUPPORT_CUSTOM_FRAME_CONTROL
- imgui
-
ImGui support