diff options
| -rw-r--r-- | Cargo.toml | 1 | ||||
| -rw-r--r-- | game/Cargo.toml | 3 | ||||
| -rw-r--r-- | graphics/Cargo.toml | 1 |
3 files changed, 3 insertions, 2 deletions
@@ -36,7 +36,6 @@ git = "https://github.com/raylib-rs/raylib-rs" version = "5.7.0" default-features = false features = [ - "GLFW_BUILD_X11", "SUPPORT_MODULE_RSHAPES", "SUPPORT_MODULE_RTEXTURES", "SUPPORT_MODULE_RAUDIO", diff --git a/game/Cargo.toml b/game/Cargo.toml index 009b8b4..5cdf4af 100644 --- a/game/Cargo.toml +++ b/game/Cargo.toml @@ -16,7 +16,8 @@ graphics.workspace = true workspace = true [features] -default = [] +default = ["x11"] +x11 = ["graphics/x11"] wayland = ["graphics/wayland"] sdl = ["graphics/sdl"] static = ["graphics/static"] diff --git a/graphics/Cargo.toml b/graphics/Cargo.toml index 0fe31d0..0240745 100644 --- a/graphics/Cargo.toml +++ b/graphics/Cargo.toml @@ -16,6 +16,7 @@ workspace = true [features] default = [] +x11 = ["raylib/GLFW_BUILD_X11"] wayland = ["raylib/wayland", "raylib/GLFW_BUILD_WAYLAND"] sdl = ["raylib/sdl", "raylib/SUPPORT_MODULE_RTEXT"] static = [] |