diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-11-11 12:02:37 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-11-11 12:02:37 -0500 |
| commit | 81f6ca5f0f144b413b1ef03d8b18999ea45a637b (patch) | |
| tree | d442fe6b48787e21136f34799b36e498982a5afd | |
| parent | engrish (diff) | |
| download | DungeonCrawl-81f6ca5f0f144b413b1ef03d8b18999ea45a637b.tar.gz DungeonCrawl-81f6ca5f0f144b413b1ef03d8b18999ea45a637b.tar.bz2 DungeonCrawl-81f6ca5f0f144b413b1ef03d8b18999ea45a637b.zip | |
add x11 feature
| -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 = [] |