Cargo Features

rustyray has no features set by default.

[dependencies]
rustyray = { version = "0.1.3", features = ["wayland", "opengl_33", "opengl_21", "opengl_es_20", "custom_frame_control", "raylib_shared"] }
wayland

Build for wayland on linux. Should fix #119

Enables wayland of rustyray-sys

opengl_33

OpenGL stuff, intended for fixing #122

Enables opengl_33 of rustyray-sys

opengl_21

Enables opengl_21 of rustyray-sys

opengl_es_20

opengl_11 = [] I couldn't get this one working, the others were fine in my limited testing (unsure about wayland compatibility)

Enables opengl_es_20 of rustyray-sys

custom_frame_control

config.h's SUPPORT_CUSTOM_FRAME_CONTROL

Enables custom_frame_control of rustyray-sys

raylib_shared

build raylib as a shared library

Enables raylib_shared of rustyray-sys